diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2007-03-07 11:55:55 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2007-03-07 11:55:55 +0000 |
commit | f38341b9ce7dd7d1de01b260afd7330c7ec160ad (patch) | |
tree | 4113687877dea1ba35d1f05a2e5d4e7506d75f7b /usr.sbin/bgpctl/parser.c | |
parent | b3f955d5d0e09495c3586b69c553fb1f22be0667 (diff) |
support "bgpctl show rib peer-as NN", From: Armin Wolfermann <aw@osn.de>
ok theo
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
-rw-r--r-- | usr.sbin/bgpctl/parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c index 1a066909c2e..b795397f2d4 100644 --- a/usr.sbin/bgpctl/parser.c +++ b/usr.sbin/bgpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.39 2007/03/03 11:45:30 henning Exp $ */ +/* $OpenBSD: parser.c,v 1.40 2007/03/07 11:55:54 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -133,6 +133,7 @@ static const struct token t_show_rib[] = { { ASTYPE, "as", AS_ALL, t_show_as}, { ASTYPE, "source-as", AS_SOURCE, t_show_as}, { ASTYPE, "transit-as", AS_TRANSIT, t_show_as}, + { ASTYPE, "peer-as", AS_PEER, t_show_as}, { ASTYPE, "empty-as", AS_EMPTY, t_show_rib}, { FLAG, "detail", F_CTL_DETAIL, t_show_rib}, { FLAG, "in", F_CTL_ADJ_IN, t_show_rib}, |