projects
/
project
/
firewall3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30dd728
)
Mark fw3_address objects that got resolved by fw3_parse_network()
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 26 May 2013 15:19:39 +0000
(17:19 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 26 May 2013 15:19:50 +0000
(17:19 +0200)
options.c
patch
|
blob
|
history
options.h
patch
|
blob
|
history
diff --git
a/options.c
b/options.c
index
c5cfc9e
..
43025a8
100644
(file)
--- 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
(file)
--- 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 {