git: 351e4592f64b - main - route: remove always-true expression
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 10:05:21 UTC
The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=351e4592f64b5c752e7967f5ed565c546a5ef9ac commit 351e4592f64b5c752e7967f5ed565c546a5ef9ac Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2023-04-09 10:04:56 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2023-04-09 10:04:56 +0000 route: remove always-true expression --- sbin/route/route_netlink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbin/route/route_netlink.c b/sbin/route/route_netlink.c index a9f550ef6f43..e3305c0d7df1 100644 --- a/sbin/route/route_netlink.c +++ b/sbin/route/route_netlink.c @@ -781,8 +781,7 @@ print_flushed_route(struct snl_parsed_route *r, struct sockaddr *gw) routename(sa) : netname(sa)); sa = gw; printf("%-20.20s ", routename(sa)); - if (r->rta_table >= 0) - printf("-fib %-3d ", r->rta_table); + printf("-fib %-3d ", r->rta_table); printf("done\n"); }