summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-01-03 22:51:15 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-01-03 22:51:15 +0000
commit5c8a42afadc988c6eb549ec4826d92f7db1ab41d (patch)
treec9ac796cf1b917764affc02518acb9e273459988 /usr.sbin/bgpctl/parser.c
parentb7edfa3948e4771e4f64dfa20a7d3416b0b86f2c (diff)
Show RIB statistics via "bgpctl show rib mem".
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 17632a9d098..8a848c5a922 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.25 2006/01/03 22:05:13 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.26 2006/01/03 22:51:14 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -123,6 +123,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},
+ { KEYWORD, "memory", SHOW_RIB_MEM, NULL},
{ FAMILY, "", NONE, NULL},
{ ENDTOKEN, "", NONE, NULL}
};