From ea46bc485f05548bb2bd26bc446167e211962c92 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 26 May 2013 17:19:39 +0200 Subject: [PATCH] Mark fw3_address objects that got resolved by fw3_parse_network() --- options.c | 1 + options.h | 1 + 2 files changed, 2 insertions(+) diff --git a/options.c b/options.c index c5cfc9e..43025a8 100644 --- a/options.c +++ b/options.c @@ -342,6 +342,7 @@ fw3_parse_network(void *ptr, const char *val, bool is_list) list_for_each_entry(addr, addr_list, list) { addr->invert = dev.invert; + addr->resolved = true; if (!put_value(ptr, addr, sizeof(*addr), is_list)) break; diff --git a/options.h b/options.h index 004eeee..aeecef0 100644 --- a/options.h +++ b/options.h @@ -162,6 +162,7 @@ struct fw3_address bool set; bool range; bool invert; + bool resolved; enum fw3_family family; int mask; union { -- 2.25.1