aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/p0f/files/patch-p0f.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/p0f/files/patch-p0f.c b/net/p0f/files/patch-p0f.c
new file mode 100644
index 000000000000..df252e765b2b
--- /dev/null
+++ b/net/p0f/files/patch-p0f.c
@@ -0,0 +1,15 @@
+$FreeBSD$
+On FreeBSD, the loopback interface is normally called lo0.
+author: Sanatana Dharma
+
+--- p0f.c.orig Mon Oct 13 18:57:21 2003
++++ p0f.c Tue Feb 17 20:56:15 2004
+@@ -1590,7 +1590,7 @@ int main(int argc,char** argv) {
+ if (!use_iface) use_iface=pcap_lookupdev(errbuf);
+ #endif /* ^WIN32 */
+
+- if (!use_iface) use_iface = "lo";
++ if (!use_iface) use_iface = "lo0";
+
+ /* We do not rely on pcap timeouts - they suck really bad. Of
+ course, the documentation sucks, and if you use the timeout