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

confile: config_network_hwaddr()

parent 65d08386
......@@ -749,7 +749,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