]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
xt_iface: move XT_IFACE_IFACE out of the public header
authorJan Engelhardt <jengelh@medozas.de>
Sun, 24 Oct 2010 14:31:26 +0000 (16:31 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 24 Oct 2010 14:31:26 +0000 (16:31 +0200)
This flag is only used by the userspace component, so remove it from
the kernel header. Also change the value to 1<<16 for the same reason.

extensions/libxt_iface.c
extensions/xt_iface.h

index 6d1c79a0e7d572e37c934aced393cda0ab1fb235..b1ae6ffb5059d79d4645a1cf06b0f104fbd69fba 100644 (file)
 #include "xt_iface.h"
 #include "compat_user.h"
 
+enum {
+       XT_IFACE_IFACE = 1 << 16,
+};
+
 static const struct option iface_mt_opts[] = {
        {.name = "iface",        .has_arg = true,  .val = 'i'},
        {.name = "up",           .has_arg = false, .val = 'u'},
index f1dbba72d4757779e554bcda3d91c269e5920170..655fe2312a57cde152f221a7a601bfbb7b15793e 100644 (file)
@@ -13,7 +13,6 @@ enum {
        XT_IFACE_DYNAMIC     = 1 << 8,
        XT_IFACE_LOWER_UP    = 1 << 9,
        XT_IFACE_DORMANT     = 1 << 10,
-       XT_IFACE_IFACE       = 1 << 15,
 };
 
 struct xt_iface_mtinfo {