diff options
author | Tom Gundersen <teg@jklm.no> | 2015-10-16 19:28:27 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-22 17:19:54 +0200 |
commit | ceabaf0fea12d38b15d7c69a5ae4faf90105e543 (patch) | |
tree | 034d2a74018c7de3e94b8acf81c47b60ec7bee1e /src/network | |
parent | 46ec668714b5fcc7c11a7b974a7d64fc13ab62c7 (diff) |
networkd: ndisc - make logging messages uniform
Refer to Router Discovery rather than ICMPv6.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-dhcp6.c | 4 | ||||
-rw-r--r-- | src/network/networkd-link.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index 6092fb8dc6..42a6f382b0 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -335,9 +335,9 @@ static void ndisc_router_handler(sd_ndisc *nd, int event, void *userdata) { default: if (event < 0) - log_link_warning_errno(link, event, "ICMPv6 error: %m"); + log_link_warning_errno(link, event, "IPv6 Neighborhood Discover error: %m"); else - log_link_warning(link, "ICMPv6 unknown event: %d", event); + log_link_warning(link, "IPv6 Neighborhood Discovery unknown event: %d", event); break; } diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 732a0c438d..09f4bd7029 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -490,7 +490,7 @@ static int link_stop_clients(Link *link) { k = sd_ndisc_stop(link->ndisc_router_discovery); if (k < 0) - r = log_link_warning_errno(link, r, "Could not stop ICMPv6 router discovery: %m"); + r = log_link_warning_errno(link, r, "Could not stop IPv6 Router Discovery: %m"); } if (link->lldp) { @@ -1244,7 +1244,7 @@ static int link_acquire_conf(Link *link) { r = sd_ndisc_router_discovery_start(link->ndisc_router_discovery); if (r < 0) - return log_link_warning_errno(link, r, "Could not start IPv6 router discovery: %m"); + return log_link_warning_errno(link, r, "Could not start IPv6 Router Discovery: %m"); } if (link_lldp_enabled(link)) { |