Skip to content

Commit

Permalink
confile: cleanup clr_config_net_ipv6_address()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Dec 15, 2020
1 parent e317562 commit b4017ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -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);
Expand Down

0 comments on commit b4017ae

Please sign in to comment.