diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-06-15 10:04:07 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-06-15 10:04:07 +0000 |
commit | accc92cccc0b53f6c352469a571e450cda5e2980 (patch) | |
tree | 2d49deedf470f92434ed459fa93bd68aaaef056f /usr.sbin | |
parent | 012a57148c871480b2b00e4f28f53f41b275d44e (diff) |
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')
-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} }; |