mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 19:44:56 +02:00
iface: constify data arrays
This commit is contained in:
@@ -19,7 +19,7 @@ MODULE_ALIAS("ipt_iface");
|
||||
MODULE_ALIAS("ip6t_iface");
|
||||
//MODULE_ALIAS("arpt_iface");
|
||||
|
||||
static struct xt_iface_flag_pairs xt_iface_lookup[] =
|
||||
static const struct xt_iface_flag_pairs xt_iface_lookup[] =
|
||||
{
|
||||
{.iface_flag = XT_IFACE_UP, .iff_flag = IFF_UP},
|
||||
{.iface_flag = XT_IFACE_BROADCAST, .iff_flag = IFF_BROADCAST},
|
||||
|
Reference in New Issue
Block a user