Unverified Commit dfe2145c by Christian Brauner Committed by Stéphane Graber

confile: config_network_ipv6_gateway()

parent 255889d7
...@@ -946,7 +946,7 @@ static int config_network_ipv6_gateway(const char *key, const char *value, ...@@ -946,7 +946,7 @@ static int config_network_ipv6_gateway(const char *key, const char *value,
free(netdev->ipv6_gateway); free(netdev->ipv6_gateway);
if (!value || strlen(value) == 0) { if (config_value_empty(value)) {
netdev->ipv6_gateway = NULL; netdev->ipv6_gateway = NULL;
} else if (!strcmp(value, "auto")) { } else if (!strcmp(value, "auto")) {
netdev->ipv6_gateway = NULL; netdev->ipv6_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