From a7c7761f655fbc8d6c9b9e6988c68c8e967a4fb4 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Tue, 13 Dec 1994 22:34:34 +0000 Subject: [PATCH] Make it possible to correctly print out new route flags, and do so. --- usr.bin/netstat/route.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 7f4ebb639a2a..f220e5ede31d 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 } };