mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 12:45:13 +02:00
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.
This commit is contained in:
@@ -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'},
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user