summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-bridge.c2
-rw-r--r--src/network/networkd-link.c7
2 files changed, 7 insertions, 2 deletions
diff --git a/src/network/networkd-bridge.c b/src/network/networkd-bridge.c
index fa87d3e24c..430b5c53d3 100644
--- a/src/network/networkd-bridge.c
+++ b/src/network/networkd-bridge.c
@@ -108,6 +108,8 @@ static int bridge_join_ready(Bridge *bridge, Link* link, sd_rtnl_message_handler
return r;
}
+ log_debug_bridge(bridge, "joining link %s to bridge", link->ifname);
+
return 0;
}
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 52b023cd9e..25d92c8aa4 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -453,6 +453,8 @@ static int link_acquire_conf(Link *link) {
return r;
}
+ log_debug_link(link, "acquiring DHCPv4 lease");
+
r = sd_dhcp_client_start(link->dhcp);
if (r < 0)
return r;
@@ -470,7 +472,7 @@ static int link_update_flags(Link *link, unsigned flags) {
return 0;
if (link->flags == flags) {
- log_debug_link(link, "link status unchanged: %#x", flags);
+ log_debug_link(link, "link status unchanged: %#.8x", flags);
return 0;
}
@@ -503,7 +505,7 @@ static int link_update_flags(Link *link, unsigned flags) {
}
log_debug_link(link,
- "link status updated: %#x -> %#x", link->flags, flags);
+ "link status updated: %#.8x -> %#.8x", link->flags, flags);
link->flags = flags;
@@ -609,6 +611,7 @@ static int bridge_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
link->network->bridge->name,
BRIDGE(link->network->bridge),
NULL);
+
link_bridge_joined(link);
return 1;