From 55cad166123faca16c40b25579fd4d49e4b3a380 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 22 Mar 2013 15:07:14 +0100 Subject: [PATCH] Fix parsing of '*' device and 'all' protocol value --- options.c | 2 ++ 1 file changed, 2 insertions(+) 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")) -- 2.25.1