diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-03-26 13:37:17 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-03-26 13:37:17 +0000 |
commit | 2ba549f674da90f4c720149117dd29fd50d93351 (patch) | |
tree | f865e028f26b008a57989a59a113f706d366a9b9 /usr.sbin/ospfctl/parser.c | |
parent | 2148e07ae93d0aa4b2092b618b760504a72bb447 (diff) |
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.c | 3 |
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}, |