summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ifpps.c b/ifpps.c
index 9344625..b2d3e49 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -27,7 +27,6 @@
#include "link.h"
#include "xmalloc.h"
#include "ioops.h"
-#include "promisc.h"
#include "cpus.h"
#include "config.h"
#include "built_in.h"
@@ -1383,10 +1382,10 @@ int main(int argc, char **argv)
cpu_hits = xzmalloc(cpus * sizeof(*cpu_hits));
if (promisc)
- ifflags = enter_promiscuous_mode(ifname);
+ ifflags = device_enter_promiscuous_mode(ifname);
ret = func_main(ifname, interval, top_cpus, suppress_warnings);
if (promisc)
- leave_promiscuous_mode(ifname, ifflags);
+ device_leave_promiscuous_mode(ifname, ifflags);
stats_release(&stats_old);
stats_release(&stats_new);