blob: 98139cebc91152b1299437fe259d61e07e702728 [file] [log] [blame] [raw]
#ifdef IPFILTER_SCAN
#include <ctype.h>
#include <stdio.h>
#include "ipf.h"
#include "netinet/ip_scan.h"
void printsbuf(buf)
char *buf;
{
u_char *s;
int i;
for (s = (u_char *)buf, i = ISC_TLEN; i; i--, s++) {
if (isprint(*s))
putchar(*s);
else
printf("\\%o", *s);
}
}
#endif