diff options
author | trevor <trevor@FreeBSD.org> | 2004-02-18 05:03:11 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2004-02-18 05:03:11 +0800 |
commit | 6fb323c268f9f6f9541b1ab1f5b7cb6ebc62eb3a (patch) | |
tree | cf4751f0d441f3674c7ac993a68d3ea6315a7026 | |
parent | 24c35cefd6feb5a8a2b99609f864afc882b334fa (diff) | |
download | freebsd-ports-gnome-6fb323c268f9f6f9541b1ab1f5b7cb6ebc62eb3a.tar.gz freebsd-ports-gnome-6fb323c268f9f6f9541b1ab1f5b7cb6ebc62eb3a.tar.zst freebsd-ports-gnome-6fb323c268f9f6f9541b1ab1f5b7cb6ebc62eb3a.zip |
On FreeBSD, the loopback interface is normally called lo0.
PR: 62358
Submitted by: Sanatana Dharma
-rw-r--r-- | net/p0f/files/patch-p0f.c | 15 |
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 |