Unverified Commit 9ecce5ce by Christian Brauner Committed by Stéphane Graber

confile: config_network_ipv4()

parent 0a760d99
......@@ -755,7 +755,7 @@ static int config_network_ipv4(const char *key, const char *value,
struct lxc_list *list;
char *cursor, *slash, *addr = NULL, *bcast = NULL, *prefix = NULL;
if (!value || !strlen(value))
if (config_value_empty(value))
return lxc_clear_config_item(lxc_conf, key);
netdev = network_netdev(key, value, &lxc_conf->network);
......
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