diff options
Diffstat (limited to 'contrib/ipfilter/lib/printsbuf.c')
-rw-r--r-- | contrib/ipfilter/lib/printsbuf.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/contrib/ipfilter/lib/printsbuf.c b/contrib/ipfilter/lib/printsbuf.c deleted file mode 100644 index 81f5e0b..0000000 --- a/contrib/ipfilter/lib/printsbuf.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2002-2004 by Darren Reed. - * - * See the IPFILTER.LICENCE file for details on licencing. - * - * $Id: printsbuf.c,v 1.2.4.2 2006/06/16 17:21:14 darrenr Exp $ - */ - -#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 |