FreeBSD compilation failure on libpcap
Status: Alpha
Brought to you by:
toopriddy
For FreeBSD 4.3 to compile the nmap/libpcap-
possiblymodified/nametoaddr.c file, the following
patch needs to be applied:
--- nmap/libpcap-possiblymodified/nametoaddr.c.orig
Mon Mar 11 17:32:19 2002
+++ nmap/libpcap-possiblymodified/nametoaddr.c Mon
Mar 11 17:32:52 2002
@@ -330,7 +330,7 @@
}
#else
-#ifndef sgi
+#if !defined (sgi) && !defined (__FreeBSD__)
extern int ether_hostton(char *, struct ether_addr *);
#endif