diff options
| author | 2006-06-15 10:04:06 +0000 | |
|---|---|---|
| committer | 2006-06-15 10:04:06 +0000 | |
| commit | 6ed5da009cb2c52fffc6596d3e7c7acef5630dcf (patch) | |
| tree | 1932aef63fdcf129172ddec4e928a357f35c4e7a /usr.sbin/bgpctl/parser.c | |
| parent | Shuffle some vars to make the struct ordered by size. (diff) | |
| download | wireguard-openbsd-6ed5da009cb2c52fffc6596d3e7c7acef5630dcf.tar.xz wireguard-openbsd-6ed5da009cb2c52fffc6596d3e7c7acef5630dcf.zip | |
Move the PREFIX token to the end of the list. The other tokens are more
specific in what they match.
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
| -rw-r--r-- | usr.sbin/bgpctl/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c index 2546268683b..cdd8cc1fe6f 100644 --- a/usr.sbin/bgpctl/parser.c +++ b/usr.sbin/bgpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.32 2006/06/14 17:06:44 claudio Exp $ */ +/* $OpenBSD: parser.c,v 1.33 2006/06/15 10:04:06 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -124,7 +124,6 @@ static const struct token t_show_fib[] = { static const struct token t_show_rib[] = { { NOTOKEN, "", NONE, NULL}, - { PREFIX, "", NONE, t_show_prefix}, { ASTYPE, "as", AS_ALL, t_show_as}, { ASTYPE, "source-as", AS_SOURCE, t_show_as}, { ASTYPE, "transit-as", AS_TRANSIT, t_show_as}, @@ -133,6 +132,7 @@ static const struct token t_show_rib[] = { { FLAG, "detail", F_CTL_DETAIL, t_show_rib}, { KEYWORD, "memory", SHOW_RIB_MEM, NULL}, { FAMILY, "", NONE, NULL}, + { PREFIX, "", NONE, t_show_prefix}, { ENDTOKEN, "", NONE, NULL} }; |
