The DIOCNATLOOK example program at the end of the pf(4) man page
uses memset(3), but string.h is not included. The following diff
fixes this. Any thoughts?

Thanks,
Lawrence


Index: pf.4
===================================================================
RCS file: /cvs/src/share/man/man4/pf.4,v
retrieving revision 1.72
diff -u -p -r1.72 pf.4
--- pf.4        28 Dec 2010 13:56:11 -0000      1.72
+++ pf.4        3 May 2011 02:13:35 -0000
@@ -1003,6 +1003,7 @@ command to find the internal host/port o
 #include <err.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 u_int32_t
 read_address(const char *s)

Reply via email to