mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Make it possible to correctly print out new route flags, and do so.
This commit is contained in:
parent
93587737d7
commit
a7c7761f65
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5103
@ -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 }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user