From: Paul Donald Date: Tue, 9 Apr 2024 03:04:09 +0000 (+0200) Subject: router: disambiguate and clarify 'no route' messages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7ee72ee17bfa3ef7384d3e8c55c03fdfac3fe603;p=project%2Fodhcpd.git router: disambiguate and clarify 'no route' messages Better describe "no route" messages. Signed-off-by: Paul Donald [ improve commit title ] Signed-off-by: Christian Marangi --- 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!"); } }