summaryrefslogtreecommitdiff
path: root/promisc.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:46:38 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:47:28 +0200
commit23bd5ecbd11766088784507a56e32975b4c755a2 (patch)
tree86dc0078bac5d8a0d21cfd39ac72278e94e8173a /promisc.c
parentac5fd9168efaa4e149340340805b1be7425d8834 (diff)
xutils: move device management functions out of xutils
Move those functions out so that they can be more easily maintained in its separate file. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'promisc.c')
-rw-r--r--promisc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/promisc.c b/promisc.c
index 721da18..32184b1 100644
--- a/promisc.c
+++ b/promisc.c
@@ -1,7 +1,9 @@
#include <string.h>
+#include <sys/socket.h>
+#include <linux/if.h>
#include "promisc.h"
-#include "xutils.h"
+#include "dev.h"
short enter_promiscuous_mode(char *ifname)
{