Re: [PATCH firewall3 v2] ipsets: allow commented lines with loadfile

2020-10-26 Thread Henrique de Moraes Holschuh
On 26/10/2020 03:28, Daniel Harding wrote: When loading ipset files using the loadfile option, skip lines that start with '#' (disregarding any leading whitespace). Signed-off-by: Daniel Harding Looks good to me, FWLIW. Thanks for addressing my suggestion! --- ipsets.c | 12 ++--

[PATCH firewall3 v2] ipsets: allow commented lines with loadfile

2020-10-25 Thread Daniel Harding
When loading ipset files using the loadfile option, skip lines that start with '#' (disregarding any leading whitespace). Signed-off-by: Daniel Harding --- ipsets.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ipsets.c b/ipsets.c index 280845b..7af795d 100644