summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfctl/parser.c
diff options
context:
space:
mode:
authornorby <norby@openbsd.org>2005-03-14 18:21:28 +0000
committernorby <norby@openbsd.org>2005-03-14 18:21:28 +0000
commit59df52c7f9ed4b6e1873d04409bf1353145173b0 (patch)
tree53b1c605f1e104c1b42fa6e35974956f02c35c70 /usr.sbin/ospfctl/parser.c
parentAllow to modify the metrics in a relative way by prepending the number with (diff)
downloadwireguard-openbsd-59df52c7f9ed4b6e1873d04409bf1353145173b0.tar.xz
wireguard-openbsd-59df52c7f9ed4b6e1873d04409bf1353145173b0.zip
Add "show summary" to ospfctl.
ok claudio@ henning@
Diffstat (limited to 'usr.sbin/ospfctl/parser.c')
-rw-r--r--usr.sbin/ospfctl/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfctl/parser.c b/usr.sbin/ospfctl/parser.c
index 1ab0e16a81b..459ddd8a981 100644
--- a/usr.sbin/ospfctl/parser.c
+++ b/usr.sbin/ospfctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.4 2005/03/12 11:03:05 norby Exp $ */
+/* $OpenBSD: parser.c,v 1.5 2005/03/14 18:21:29 norby Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -66,8 +66,8 @@ static const struct token t_show[] = {
{KEYWORD, "interfaces", SHOW_IFACE, t_show_iface},
{KEYWORD, "database", SHOW_DB, t_show_db},
{KEYWORD, "neighbor", SHOW_NBR, t_show_nbr},
-/* {KEYWORD, "summary", SHOW_SUMMARY, NULL}, */
{KEYWORD, "rib", SHOW_RIB, t_show_rib},
+ {KEYWORD, "summary", SHOW_SUM, NULL},
{ENDTOKEN, "", NONE, NULL}
};