[PATCH firewall3 v3] ipsets: allow blank/commented lines with loadfile

2020-10-26 Thread Daniel Harding
When loading ipset files using the loadfile option, skip blank lines and 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/ipse

[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 280845

[PATCH firewall3] 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 '#'. Signed-off-by: Daniel Harding --- ipsets.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipsets.c b/ipsets.c index 280845b..720f8c8 100644 --- a/ipsets.c +++ b/ipsets.c @@ -35

Re: [OpenWrt-Devel] httpd.init

2012-09-25 Thread Daniel Harding
e r20432, there was a httpd file. When it was removed, the Makefile wasn't updated. Attached is a trivial patch which fixes up the Makefile. -Daniel commit 49f8b61b2c210ed31dc269beb26643db53015fd3 Author: Daniel Harding Date: Sat Sep 11 21:39:23 2010 + fix omission from r20432

[OpenWrt-Devel] Some snapshot config files not accessible

2012-05-20 Thread Daniel Harding
. Some examples of targets with inaccessible configs: adm5120 atheros brcm47xx I suspect a simple file permissions problem on the website - should I file a bug about this, or is this email sufficient? Thanks, Daniel Harding ___ openwrt-devel mailing