diff options
author | wollman <wollman@FreeBSD.org> | 1994-12-13 22:34:34 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-12-13 22:34:34 +0000 |
commit | 3d4e098488b51fc1ce69becfdfe6a01c38598f4b (patch) | |
tree | 3bdffb1e4b031c27213d1492d8f3d7795cfe4942 /usr.bin | |
parent | 55c3415ff0a5006d592abf17ed5d66c9f13014c7 (diff) | |
download | FreeBSD-src-3d4e098488b51fc1ce69becfdfe6a01c38598f4b.zip FreeBSD-src-3d4e098488b51fc1ce69becfdfe6a01c38598f4b.tar.gz |
Make it possible to correctly print out new route flags, and do so.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/route.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 7f4ebb6..f220e5e 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -65,7 +65,7 @@ static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/9/94"; * Definitions for showing gateway flags. */ struct bits { - short b_mask; + u_long b_mask; char b_val; } bits[] = { { RTF_UP, 'U' }, @@ -82,6 +82,9 @@ struct bits { { RTF_STATIC, 'S' }, { RTF_PROTO1, '1' }, { RTF_PROTO2, '2' }, + { RTF_WASCLONED,'W' }, + { RTF_PRCLONING,'c' }, + { RTF_PROTO3, '3' }, { 0 } }; |