From c27490d32cee6d6e8a1693ac09070437a72d5d79 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 26 Feb 2021 22:20:36 +0100 Subject: [PATCH] confile: initialize network struct Signed-off-by: Christian Brauner --- src/lxc/confile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index eb58779e0..3f5ef1011 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -312,6 +312,7 @@ static int set_config_net_type(const char *key, const char *value, netdev->type = LXC_NET_VETH; lxc_list_init(&netdev->priv.veth_attr.ipv4_routes); lxc_list_init(&netdev->priv.veth_attr.ipv6_routes); + lxc_list_init(&netdev->priv.veth_attr.vlan_tagged_ids); if (!lxc_veth_flag_to_mode(netdev->priv.veth_attr.mode)) lxc_veth_mode_to_flag(&netdev->priv.veth_attr.mode, "bridge"); } else if (strequal(value, "macvlan")) { -- 2.47.3