diff mbox series

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

Message ID 20240409030540.77576-9-newtwen+github@gmail.com
State Accepted
Headers show
Series odhcpd patchset | expand

Commit Message

Paul Donald April 9, 2024, 3:04 a.m. UTC
From: Paul Donald <newtwen@gmail.com>

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

Patch

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!");
 		}
 	}