[PATCH v3 8/9] router: disambiguate and clarify 'no route' messages

Paul Donald newtwen+github at gmail.com
Mon Apr 8 20:04:09 PDT 2024


From: Paul Donald <newtwen at gmail.com>

Signed-off-by: Paul Donald <newtwen at gmail.com>
---
 src/router.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/router.c b/src/router.c
index 2a59530..365aaa8 100644
--- a/src/router.c
+++ b/src/router.c
@@ -656,9 +656,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!");
 		}
 	}
 
-- 
2.44.0




More information about the openwrt-devel mailing list