options: emit an empty address item when resolving networks fails
authorJo-Philipp Wich <jo@mein.io>
Wed, 7 Jun 2017 14:18:30 +0000 (16:18 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 13 Feb 2018 15:19:22 +0000 (16:19 +0100)
commit359adcfc54c0b1f5c8597658bc219dae57b9f082
tree82ae6d289ce2f6d930245a60391b08b9666098b3
parent392811a5c468960fa9c178f8de31560224ee7069
options: emit an empty address item when resolving networks fails

Adjust fw3_parse_network() to emit an empty address item with
.set = false, .resolved = true when we failed to resolve the network
name into any ip address.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
options.c