summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Donald2024-04-09 03:04:09 +0000
committerChristian Marangi2024-05-07 22:07:16 +0000
commit7ee72ee17bfa3ef7384d3e8c55c03fdfac3fe603 (patch)
treefd4e4de3035a04bc3d0a0f84632c091f86dbb0d8
parent2edc60cb7c7a7955c0d1d7a09eebcdbdd43e2a88 (diff)
router: disambiguate and clarify 'no route' messages
Better describe "no route" messages. Signed-off-by: Paul Donald <newtwen@gmail.com> [ improve commit title ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--src/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router.c b/src/router.c
index 8721c37..7f5658b 100644
--- a/src/router.c
+++ b/src/router.c
@@ -663,9 +663,9 @@ static int send_router_advert(struct interface *iface, const struct in6_addr *fr
if (default_route) {
syslog(LOG_WARNING, "A default route is present but there is no public prefix "
- "on %s thus we don't announce a default route by overriding ra_lifetime!", iface->name);
+ "on %s thus we announce no default route by overriding ra_lifetime to 0!", iface->name);
} else {
- syslog(LOG_WARNING, "No default route present, overriding ra_lifetime!");
+ syslog(LOG_WARNING, "No default route present, overriding ra_lifetime to 0!");
}
}