diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-03-10 16:09:38 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2021-03-14 22:56:07 +0100 |
commit | 5c997d2916664b6a7824bfa39fe834ebcc24e1b6 (patch) | |
tree | 59a63fe44e04ca0ec8c0f9b55e493bf26c94ce78 /babeld/route.c | |
parent | sharpd: Convert over to using builtin printf functionality (diff) | |
download | frr-5c997d2916664b6a7824bfa39fe834ebcc24e1b6.tar.xz frr-5c997d2916664b6a7824bfa39fe834ebcc24e1b6.zip |
babeld: We do not need to put Warning into our warning messages
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to '')
-rw-r--r-- | babeld/route.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/babeld/route.c b/babeld/route.c index 0f6f6486f..dfd0bfab8 100644 --- a/babeld/route.c +++ b/babeld/route.c @@ -399,15 +399,17 @@ install_route(struct babel_route *route) return; if(!route_feasible(route)) - flog_err(EC_BABEL_ROUTE, "WARNING: installing unfeasible route (this shouldn't happen)."); + flog_err(EC_BABEL_ROUTE, + "Installing unfeasible route (this shouldn't happen)."); i = find_route_slot(route->src->prefix, route->src->plen, NULL); assert(i >= 0 && i < route_slots); if(routes[i] != route && routes[i]->installed) { - flog_err(EC_BABEL_ROUTE, - "WARNING: attempting to install duplicate route (this shouldn't happen)."); - return; + flog_err( + EC_BABEL_ROUTE, + "Attempting to install duplicate route (this shouldn't happen)."); + return; } rc = kernel_route(ROUTE_ADD, route->src->prefix, route->src->plen, @@ -463,7 +465,8 @@ switch_routes(struct babel_route *old, struct babel_route *new) return; if(!route_feasible(new)) - flog_err(EC_BABEL_ROUTE, "WARNING: switching to unfeasible route (this shouldn't happen)."); + flog_err(EC_BABEL_ROUTE, + "Switching to unfeasible route (this shouldn't happen)."); rc = kernel_route(ROUTE_MODIFY, old->src->prefix, old->src->plen, old->nexthop, old->neigh->ifp->ifindex, |