netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] extensions: libxt_devgroup: Fix the path of the mappings file
@ 2014-09-18 11:06 Ana Rey
  2014-09-19 13:18 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Ana Rey @ 2014-09-18 11:06 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Ana Rey

Use "/etc/iproute2/group" like the path of the mapping file instead of
"/etc/iproute2/group_map"

Signed-off-by: Ana Rey <anarey@gmail.com>
---
 extensions/libxt_devgroup.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/libxt_devgroup.c b/extensions/libxt_devgroup.c
index 4a69c82..fb1fcb5 100644
--- a/extensions/libxt_devgroup.c
+++ b/extensions/libxt_devgroup.c
@@ -31,12 +31,12 @@ static const struct xt_option_entry devgroup_opts[] = {
 	XTOPT_TABLEEND,
 };
 
-/* array of devgroups from /etc/iproute2/group_map */
+/* array of devgroups from /etc/iproute2/group */
 static struct xtables_lmap *devgroups;
 
 static void devgroup_init(struct xt_entry_match *match)
 {
-	const char file[] = "/etc/iproute2/group_map";
+	const char file[] = "/etc/iproute2/group";
 	devgroups = xtables_lmap_init(file);
 	if (devgroups == NULL && errno != ENOENT)
 		fprintf(stderr, "Warning: %s: %s\n", file, strerror(errno));
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] extensions: libxt_devgroup: Fix the path of the mappings file
  2014-09-18 11:06 [PATCH] extensions: libxt_devgroup: Fix the path of the mappings file Ana Rey
@ 2014-09-19 13:18 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2014-09-19 13:18 UTC (permalink / raw)
  To: Ana Rey; +Cc: netfilter-devel

On Thu, Sep 18, 2014 at 01:06:42PM +0200, Ana Rey wrote:
> Use "/etc/iproute2/group" like the path of the mapping file instead of
> "/etc/iproute2/group_map"

Applied, thanks Ana.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-19 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18 11:06 [PATCH] extensions: libxt_devgroup: Fix the path of the mappings file Ana Rey
2014-09-19 13:18 ` Pablo Neira Ayuso

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).