chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkctl: use the shared functions for enumerating the local gateways
[elogind.git]
/
src
/
network
/
networkd-dhcp4.c
diff --git
a/src/network/networkd-dhcp4.c
b/src/network/networkd-dhcp4.c
index 0a8c8ba8e452b862ab6e3144ee406c8971c00f41..ac59fd48c80e97546628aed7a576a1ae8ff2c3bd 100644
(file)
--- a/
src/network/networkd-dhcp4.c
+++ b/
src/network/networkd-dhcp4.c
@@
-442,7
+442,7
@@
static int dhcp_lease_acquired(sd_dhcp_client *client, Link *link) {
}
if (r >= 0)
}
if (r >= 0)
- log_link_struct(
LOG_INFO, link
,
+ log_link_struct(
link, LOG_INFO
,
"MESSAGE=%-*s: DHCPv4 address %u.%u.%u.%u/%u via %u.%u.%u.%u",
IFNAMSIZ,
link->ifname,
"MESSAGE=%-*s: DHCPv4 address %u.%u.%u.%u/%u via %u.%u.%u.%u",
IFNAMSIZ,
link->ifname,
@@
-457,7
+457,7
@@
static int dhcp_lease_acquired(sd_dhcp_client *client, Link *link) {
ADDRESS_FMT_VAL(gateway),
NULL);
else
ADDRESS_FMT_VAL(gateway),
NULL);
else
- log_link_struct(
LOG_INFO, link
,
+ log_link_struct(
link, LOG_INFO
,
"MESSAGE=%-*s: DHCPv4 address %u.%u.%u.%u/%u",
IFNAMSIZ,
link->ifname,
"MESSAGE=%-*s: DHCPv4 address %u.%u.%u.%u/%u",
IFNAMSIZ,
link->ifname,