summaryrefslogtreecommitdiffstats
path: root/ipset_macipmap.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu>2008-10-25 12:50:34 +0000
committer/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu>2008-10-25 12:50:34 +0000
commit894ebbc905ea760bab182513a74dc8bf3c2952cd (patch)
treeee73c1f0d37fc4dfcf2bee2f3afbe541218e3d01 /ipset_macipmap.c
parent46fb717308d9d717439badd48c150e32a3508a90 (diff)
2.4.3
- Include file <limits.h> was missing from userspace set type modules.
Diffstat (limited to 'ipset_macipmap.c')
-rw-r--r--ipset_macipmap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipset_macipmap.c b/ipset_macipmap.c
index 3a9530c..d4b8a06 100644
--- a/ipset_macipmap.c
+++ b/ipset_macipmap.c
@@ -18,15 +18,15 @@
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <arpa/inet.h>
-#include <linux/if_ether.h>
+#include <stdio.h> /* *printf */
+#include <stdlib.h> /* mem* */
+#include <string.h> /* str* */
+#include <net/ethernet.h> /* ETH_ALEN */
-#include <linux/netfilter_ipv4/ip_set_macipmap.h>
#include "ipset.h"
+#include <linux/netfilter_ipv4/ip_set_macipmap.h>
+
#define BUFLEN 30;
#define OPT_CREATE_FROM 0x01U