From 5401d85ac8e0e346959c4c08d0e0756fbf25f620 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Tue, 17 Feb 2004 21:03:11 +0000 Subject: [PATCH] On FreeBSD, the loopback interface is normally called lo0. PR: 62358 Submitted by: Sanatana Dharma --- net/p0f/files/patch-p0f.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net/p0f/files/patch-p0f.c 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