/* Print out a character, filtering out the non-printable ones  */
void fn_print_char(netdissect_options *ndo, u_char c)
/* Print out a character, filtering out the non-printable ones  */
void fn_print_char(netdissect_options *ndo, u_char c)
{
	if (!ND_ISASCII(c)) {
		c = ND_TOASCII(c);
		ND_PRINT((ndo, "M-"));
	}
	if (!ND_ISPRINT(c)) {
		c ^= 0x40;
		ND_PRINT((ndo, "^"));
	}
	ND_PRINT((ndo, "%c", c));
}