diff options
author | wollman <wollman@FreeBSD.org> | 1996-05-08 20:48:59 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-05-08 20:48:59 +0000 |
commit | 00a71a5dd6c73f21950297fbc1ef710c31e28231 (patch) | |
tree | 9cd2e616d278b75e272cb3aa10dbe6d35b353f10 | |
parent | 577771db625c04242662f7e9ceb22c54f78a77ee (diff) | |
download | FreeBSD-src-00a71a5dd6c73f21950297fbc1ef710c31e28231.zip FreeBSD-src-00a71a5dd6c73f21950297fbc1ef710c31e28231.tar.gz |
Update route(8) to print out current meanings of rt_flags RTF_* bits.
-rw-r--r-- | sbin/route/route.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index c2ae5ed..5d9c54e 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -43,7 +43,7 @@ static const char copyright[] = static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; */ static const char rcsid[] = - "$Id: route.c,v 1.6 1996/02/13 17:30:34 wollman Exp $"; + "$Id: route.c,v 1.7 1996/02/17 21:13:32 mpp Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -1169,11 +1169,17 @@ char *msgtypes[] = { }; char metricnames[] = -"\011pksent\010rttvar\7rtt\6ssthresh\5sendpipe\4recvpipe\3expire\2hopcount\1mtu"; +"\011pksent\010rttvar\7rtt\6ssthresh\5sendpipe\4recvpipe\3expire\2hopcount" +"\1mtu"; char routeflags[] = -"\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE\010MASK_PRESENT\011CLONING\012XRESOLVE\013LLINFO\014STATIC\017PROTO2\020PROTO1"; +"\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE\010MASK_PRESENT" +"\011CLONING\012XRESOLVE\013LLINFO\014STATIC\015BLACKHOLE\016b016" +"\017PROTO2\020PROTO1\021PRCLONING\022WASCLONED\023PROTO3\024CHAINDELETE" +"\025PINNED\026LOCAL\027BROADCAST\030MULTICAST"; char ifnetflags[] = -"\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5PTP\6NOTRAILERS\7RUNNING\010NOARP\011PPROMISC\012ALLMULTI\013OACTIVE\014SIMPLEX\015LINK0\016LINK1\017LINK2\020MULTICAST"; +"\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5PTP\6b6\7RUNNING\010NOARP" +"\011PPROMISC\012ALLMULTI\013OACTIVE\014SIMPLEX\015LINK0\016LINK1" +"\017LINK2\020MULTICAST"; char addrnames[] = "\1DST\2GATEWAY\3NETMASK\4GENMASK\5IFP\6IFA\7AUTHOR\010BRD"; |