All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [PATCH] libxt_devgroup: actually set XT_DEVGROUP_OPT_???GROUP flags
  2011-05-18 16:47 [PATCH] libxt_devgroup: actually set XT_DEVGROUP_OPT_???GROUP flags Lutz Jaenicke
@ 2011-05-23 14:28 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2011-05-23 14:28 UTC (permalink / raw)
  To: Lutz Jaenicke; +Cc: netfilter-devel

On 18.05.2011 18:47, Lutz Jaenicke wrote:
> Signed-off-by: Lutz Jaenicke <ljaenicke@innominate.com>

Applied, thanks.

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.