]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/confile.c
confile: cleanup clr_config_net_ipv6_address()
[mirror_lxc.git] / src / lxc / confile.c
index 28a24004c17871d253b5f7cfdc5647adb0d89ffe..eedc5a8e16db3ad5c68ba0b78b1d8346870c80a9 100644 (file)
@@ -5107,7 +5107,7 @@ static int clr_config_net_ipv6_address(const char *key,
        struct lxc_list *cur, *next;
 
        if (!netdev)
-               return -1;
+               return ret_errno(EINVAL);
 
        lxc_list_for_each_safe(cur, &netdev->ipv6, next) {
                lxc_list_del(cur);