confile_utils: cleanup lxc_ipvlan_flag_to_mode()

parent 345c0c49
...@@ -586,7 +586,7 @@ char *lxc_ipvlan_flag_to_mode(int mode) ...@@ -586,7 +586,7 @@ char *lxc_ipvlan_flag_to_mode(int mode)
return ipvlan_mode[i].name; return ipvlan_mode[i].name;
} }
return NULL; return ret_set_errno(NULL, EINVAL);
} }
static struct lxc_ipvlan_isolation { static struct lxc_ipvlan_isolation {
......
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