Unverified Commit 65d08386 by Christian Brauner Committed by Stéphane Graber

confile: config_network_type()

parent c48ed4ff
......@@ -419,7 +419,7 @@ static int config_network_type(const char *key, const char *value,
struct lxc_netdev *netdev;
struct lxc_list *list;
if (!value || strlen(value) == 0)
if (config_value_empty(value))
return lxc_clear_config_network(lxc_conf);
netdev = malloc(sizeof(*netdev));
......
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