On FreeBSD, the loopback interface is normally called lo0.
PR: 62358 Submitted by: Sanatana Dharma
This commit is contained in:
parent
90aa7c5b16
commit
5401d85ac8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101241
15
net/p0f/files/patch-p0f.c
Normal file
15
net/p0f/files/patch-p0f.c
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user