mirror of
git://github.com/lxc/lxc
synced 2025-08-31 12:39:31 +00:00
network: log ifindex for host side veth device
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
@@ -264,6 +264,9 @@ void lxc_log_configured_netdevs(const struct lxc_conf *conf)
|
||||
if (netdev->priv.veth_attr.veth1[0] != '\0')
|
||||
TRACE("veth1 : %s",
|
||||
netdev->priv.veth_attr.veth1);
|
||||
if (netdev->priv.veth_attr.ifindex > 0)
|
||||
TRACE("host side ifindex for veth device: %d",
|
||||
netdev->priv.veth_attr.ifindex);
|
||||
break;
|
||||
case LXC_NET_MACVLAN:
|
||||
TRACE("type: macvlan");
|
||||
|
Reference in New Issue
Block a user