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

confile: config_network()

parent 81bda9ca
...@@ -400,9 +400,9 @@ out: ...@@ -400,9 +400,9 @@ out:
} }
static int config_network(const char *key, const char *value, static int config_network(const char *key, const char *value,
struct lxc_conf *lxc_conf) struct lxc_conf *lxc_conf)
{ {
if (value && strlen(value)) { if (!config_value_empty(value)) {
ERROR("lxc.network must not have a value"); ERROR("lxc.network must not have a value");
return -1; return -1;
} }
......
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