From: Jo-Philipp Wich Date: Fri, 22 Mar 2013 14:07:14 +0000 (+0100) Subject: Fix parsing of '*' device and 'all' protocol value X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=55cad166123faca16c40b25579fd4d49e4b3a380;p=oweals%2Ffirewall3.git Fix parsing of '*' device and 'all' protocol value --- diff --git a/options.c b/options.c index ef5eaa7..031de83 100644 --- a/options.c +++ b/options.c @@ -206,6 +206,7 @@ fw3_parse_device(void *ptr, const char *val, bool is_list) { dev.set = true; dev.any = true; + put_value(ptr, &dev, sizeof(dev), is_list); return true; } @@ -516,6 +517,7 @@ fw3_parse_protocol(void *ptr, const char *val, bool is_list) if (!strcmp(val, "all")) { proto.any = true; + put_value(ptr, &proto, sizeof(proto), is_list); return true; } else if (!strcmp(val, "icmpv6"))