summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpctl/parser.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2005-09-20 14:40:32 +0000
committerhenning <henning@openbsd.org>2005-09-20 14:40:32 +0000
commit6de2154e9cf419863a239e9b7cc1599b202c341b (patch)
treedf68cce39161efcbe6c44d1cd792510c72e32f26 /usr.sbin/bgpctl/parser.c
parentdon't try to print v6 nexthops as v4 address (diff)
downloadwireguard-openbsd-6de2154e9cf419863a239e9b7cc1599b202c341b.tar.xz
wireguard-openbsd-6de2154e9cf419863a239e9b7cc1599b202c341b.zip
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}
};