summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfctl/parser.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2005-03-26 13:37:16 +0000
committerclaudio <claudio@openbsd.org>2005-03-26 13:37:16 +0000
commit4c561fb659a821f75f30bd153be0f3645c67523d (patch)
tree245528d37abed6c0ffe72a2ef09df213e4523749 /usr.sbin/ospfctl/parser.c
parentImplement the IMSG_CTL_IFINFO bits correctly. This is needed for (diff)
downloadwireguard-openbsd-4c561fb659a821f75f30bd153be0f3645c67523d.tar.xz
wireguard-openbsd-4c561fb659a821f75f30bd153be0f3645c67523d.zip
ospfctl bits for the "ospfctl show fib interface" part. This will print
the interface status as seen from the parent kroute perspective. OK henning@ norby@
Diffstat (limited to 'usr.sbin/ospfctl/parser.c')
-rw-r--r--usr.sbin/ospfctl/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/parser.c b/usr.sbin/ospfctl/parser.c
index a35cd849eb5..313e2ea5082 100644
--- a/usr.sbin/ospfctl/parser.c
+++ b/usr.sbin/ospfctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.6 2005/03/15 22:09:43 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.7 2005/03/26 13:37:16 claudio Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -108,6 +108,7 @@ static const struct token t_show_rib[] = {
static const struct token t_show_fib[] = {
{NOTOKEN, "", NONE, NULL},
+ {KEYWORD, "interface", SHOW_FIB_IFACE, t_show_iface},
{FLAG, "connected", F_CONNECTED, t_show_fib},
{FLAG, "static", F_STATIC, t_show_fib},
{FLAG, "ospf", F_OSPFD_INSERTED, t_show_fib},