summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-09-20 14:40:33 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-09-20 14:40:33 +0000
commitee62390afe00f47f4da8a2fbc68c4e8153588158 (patch)
tree05abc6a9e93db629e90366e97f491e2196a2232f /usr.sbin/bgpctl/parser.c
parentb99e7f7e88b122baa797c60d78122cfff86e9515 (diff)
allow "show rib" to be limited to an address family too
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
-rw-r--r--usr.sbin/bgpctl/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index 4dfe6ca584c..ad70a145e70 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.20 2005/09/20 13:48:58 henning Exp $ */
+/* $OpenBSD: parser.c,v 1.21 2005/09/20 14:40:32 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -119,6 +119,7 @@ static const struct token t_show_rib[] = {
{ ASTYPE, "transit-as", AS_TRANSIT, t_show_as},
{ ASTYPE, "empty-as", AS_EMPTY, NULL},
{ KEYWORD, "summary", SHOW_SUMMARY, NULL},
+ { FAMILY, "", NONE, NULL},
{ ENDTOKEN, "", NONE, NULL}
};