summaryrefslogtreecommitdiffstats
path: root/discover/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/network.c')
-rw-r--r--discover/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/network.c b/discover/network.c
index 6a1575f..bc7e186 100644
--- a/discover/network.c
+++ b/discover/network.c
@@ -547,8 +547,8 @@ struct network *network_init(struct device_handler *handler,
network = talloc(handler, struct network);
list_init(&network->interfaces);
network->handler = handler;
- network->manual_config = false;
network->dry_run = dry_run;
+ network->manual_config = config_get()->network.n_interfaces != 0;
network_init_dns(network);
OpenPOWER on IntegriCloud