Skip to content

Commit

Permalink
confile: cleanup get_config_net_veth_pair()
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 9, 2020
1 parent 7d6ccf8 commit 9e86b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -5811,7 +5811,7 @@ static int get_config_net_veth_pair(const char *key, char *retv, int inlen,
memset(retv, 0, inlen);

if (!netdev)
return -1;
return ret_errno(EINVAL);

if (netdev->type != LXC_NET_VETH)
return 0;
Expand Down

0 comments on commit 9e86b44

Please sign in to comment.