Commit 1f92ddc1 by Thomas Parrott

confile/utils: Adds veth vlan tagged ID tracing to lxc_log_configured_netdevs

parent 134ded24
...@@ -274,6 +274,11 @@ void lxc_log_configured_netdevs(const struct lxc_conf *conf) ...@@ -274,6 +274,11 @@ void lxc_log_configured_netdevs(const struct lxc_conf *conf)
if (netdev->priv.veth_attr.vlan_id_set) if (netdev->priv.veth_attr.vlan_id_set)
TRACE("veth vlan id: %d", netdev->priv.veth_attr.vlan_id); TRACE("veth vlan id: %d", netdev->priv.veth_attr.vlan_id);
lxc_list_for_each_safe(cur, &netdev->priv.veth_attr.vlan_tagged_ids, next) {
unsigned short vlan_tagged_id = PTR_TO_USHORT(cur->elem);
TRACE("veth vlan tagged id: %u", vlan_tagged_id);
}
break; break;
case LXC_NET_MACVLAN: case LXC_NET_MACVLAN:
TRACE("type: macvlan"); TRACE("type: macvlan");
......
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