iface: constify data arrays

This commit is contained in:
Jan Engelhardt
2009-04-26 22:13:05 +02:00
parent 3f96deb0f0
commit be2061c520
2 changed files with 3 additions and 3 deletions

View File

@@ -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},