diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-05-31 18:02:29 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-05-31 18:02:29 +0000 |
commit | cdc54a968754fce85ee42dbe16f6e299e18f6ebf (patch) | |
tree | 335a9db0a5d7a71b4a4044f6a972292adb1a4d94 /sbin/route/show.c | |
parent | 165d43adee954b733a1e9a1d09b662ca7014bf06 (diff) |
Masking the priority with RTP_MASK is no longer needed in userland.
Kernel will do this now.
Diffstat (limited to 'sbin/route/show.c')
-rw-r--r-- | sbin/route/show.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c index f8bd370c1dd..68a6dad167b 100644 --- a/sbin/route/show.c +++ b/sbin/route/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.78 2009/05/23 16:44:12 chris Exp $ */ +/* $OpenBSD: show.c,v 1.79 2009/05/31 18:02:28 claudio Exp $ */ /* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */ /* @@ -314,7 +314,7 @@ p_rtentry(struct rt_msghdr *rtm) else printf("%5s ", "-"); putchar((rtm->rtm_rmx.rmx_locks & RTV_MTU) ? 'L' : ' '); - printf(" %2d %.16s", rtm->rtm_priority & RTP_MASK, + printf(" %2d %.16s", rtm->rtm_priority, if_indextoname(rtm->rtm_index, ifbuf)); putchar('\n'); } |