summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-15 15:54:28 +0200
committerTom Gundersen <teg@jklm.no>2014-05-15 18:16:31 +0200
commit5261692fe5a4ac82f9783d57a07b0a4786dc01ab (patch)
treeb3965952ebd39663c6f469efd131a3d76cb45691 /src/network/networkd-netdev.c
parentaf4e9e2c563047d524b207e0e3d6816385693a16 (diff)
networkd: log ifindices when links and netdevs are added
Diffstat (limited to 'src/network/networkd-netdev.c')
-rw-r--r--src/network/networkd-netdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index 3bd6c07822..8deef0d50f 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -505,6 +505,8 @@ int netdev_set_ifindex(NetDev *netdev, sd_rtnl_message *message) {
netdev->ifindex = ifindex;
+ log_debug_netdev(netdev, "netdev has index %d", netdev->ifindex);
+
netdev_enter_ready(netdev);
return 0;