From 21cdf786f787c61717bc235ff4f252bf412ae052 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 24 Oct 2010 16:31:26 +0200 Subject: [PATCH] xt_iface: move XT_IFACE_IFACE out of the public header 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 | 4 ++++ extensions/xt_iface.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/extensions/libxt_iface.c b/extensions/libxt_iface.c index 6d1c79a..b1ae6ff 100644 --- a/extensions/libxt_iface.c +++ b/extensions/libxt_iface.c @@ -17,6 +17,10 @@ #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'}, diff --git a/extensions/xt_iface.h b/extensions/xt_iface.h index f1dbba7..655fe23 100644 --- a/extensions/xt_iface.h +++ b/extensions/xt_iface.h @@ -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 {