Unverified Commit 732acf32 by Christian Brauner Committed by Stéphane Graber

confile: config_network_ipv4_gateway()

parent 62dfdc83
......@@ -892,7 +892,7 @@ static int config_network_ipv4_gateway(const char *key, const char *value,
free(netdev->ipv4_gateway);
if (!value || strlen(value) == 0) {
if (config_value_empty(value)) {
netdev->ipv4_gateway = NULL;
} else if (!strcmp(value, "auto")) {
netdev->ipv4_gateway = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment