aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-07-09 16:03:34 -0700
committerGuy Harris <guy@alum.mit.edu>2014-07-09 16:03:34 -0700
commit6e170188920b714518defed5b98322a569976c19 (patch)
tree27cacf5f5f48e706f22dc1c72e7277ab4bef44e4 /pcap-linux.c
parent010518f5f7a818cc1830b8b31518148cd3f80bee (diff)
Fix addition of UP and RUNNING to the "any" device.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index a88eb965..48749c18 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -2319,7 +2319,7 @@ pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf)
/*
* Add the "any" device.
*/
- if (pcap_add_if(alldevsp, "any", PCAP_IF_UP|PCAP_IF_RUNNING,
+ if (pcap_add_if(alldevsp, "any", IFF_UP|IFF_RUNNING,
any_descr, errbuf) < 0)
return (-1);