* [PATCH] libxt_devgroup: actually set XT_DEVGROUP_OPT_???GROUP flags
@ 2011-05-18 16:47 Lutz Jaenicke
2011-05-23 14:28 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Lutz Jaenicke @ 2011-05-18 16:47 UTC (permalink / raw)
To: netfilter-devel; +Cc: Lutz Jaenicke
Signed-off-by: Lutz Jaenicke <ljaenicke@innominate.com>
---
extensions/libxt_devgroup.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/extensions/libxt_devgroup.c b/extensions/libxt_devgroup.c
index a925dd0..4487c83 100644
--- a/extensions/libxt_devgroup.c
+++ b/extensions/libxt_devgroup.c
@@ -70,6 +70,7 @@ static void devgroup_parse(struct xt_option_call *cb)
info->src_group = id;
info->src_mask = 0xffffffff;
}
+ info->flags |= XT_DEVGROUP_MATCH_SRC;
if (cb->invert)
info->flags |= XT_DEVGROUP_INVERT_SRC;
break;
@@ -93,6 +94,7 @@ static void devgroup_parse(struct xt_option_call *cb)
info->dst_group = id;
info->dst_mask = 0xffffffff;
}
+ info->flags |= XT_DEVGROUP_MATCH_DST;
if (cb->invert)
info->flags |= XT_DEVGROUP_INVERT_DST;
break;
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-23 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-18 16:47 [PATCH] libxt_devgroup: actually set XT_DEVGROUP_OPT_???GROUP flags Lutz Jaenicke
2011-05-23 14:28 ` Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).