summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_tos.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-05-09 20:23:21 +0200
committerPatrick McHardy <kaber@trash.net>2011-05-09 20:23:21 +0200
commitc29f7ef7cb5a31620060ef721d3c65b343eb537a (patch)
tree09d7a610fbdda5c259d85458f4b6cf9ae9b07f03 /extensions/libxt_tos.c
parentedc2b1adf32d2b11e126174f525293b3bca6e7bc (diff)
parent6cfb28bb9032dcf2749ff80f88ad37b9fe5e7c2a (diff)
Merge branch 'opts' of git://dev.medozas.de/iptables
Diffstat (limited to 'extensions/libxt_tos.c')
-rw-r--r--extensions/libxt_tos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_tos.c b/extensions/libxt_tos.c
index 7646a4f3..81c096f9 100644
--- a/extensions/libxt_tos.c
+++ b/extensions/libxt_tos.c
@@ -26,13 +26,13 @@ enum {
static const struct xt_option_entry tos_mt_opts_v0[] = {
{.name = "tos", .id = O_TOS, .type = XTTYPE_TOSMASK,
- .flags = XTOPT_MAND, .max = 0xFF},
+ .flags = XTOPT_INVERT | XTOPT_MAND, .max = 0xFF},
XTOPT_TABLEEND,
};
static const struct xt_option_entry tos_mt_opts[] = {
{.name = "tos", .id = O_TOS, .type = XTTYPE_TOSMASK,
- .flags = XTOPT_MAND, .max = 0x3F},
+ .flags = XTOPT_INVERT | XTOPT_MAND, .max = 0x3F},
XTOPT_TABLEEND,
};