Browse Source

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>
Paul Donald 2 months ago
parent
commit
7ee72ee17b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/router.c

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