From 06312dab6c530a214a4e7bad1b2329381430bddc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 1 May 2011 19:58:56 +0200 Subject: libxt_tos: add inversion support back again It was unfortunately removed during the option parser switch. Signed-off-by: Jan Engelhardt --- extensions/libxt_tos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') 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, }; -- cgit v1.2.3