summaryrefslogtreecommitdiff
path: root/net/p0f
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-02-17 21:03:11 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-02-17 21:03:11 +0000
commit5401d85ac8e0e346959c4c08d0e0756fbf25f620 (patch)
tree90e34c2b5affcabfc4b21730f66ab3cf45692d13 /net/p0f
parentUpgrade to 0.94.0125, add USE_SIZE, replace USE_MESA with USE_GL (portlint). (diff)
On FreeBSD, the loopback interface is normally called lo0.
PR: 62358 Submitted by: Sanatana Dharma
Diffstat (limited to 'net/p0f')
-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