Unverified Commit 0a760d99 by Christian Brauner Committed by Stéphane Graber

confile: config_network_hwaddr()

parent de68ddfa
......@@ -706,7 +706,7 @@ static int config_network_hwaddr(const char *key, const char *value,
return -1;
};
if (!new_value || strlen(new_value) == 0) {
if (config_value_empty(new_value)) {
free(new_value);
netdev->hwaddr = NULL;
return 0;
......
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