aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);