summaryrefslogtreecommitdiffstats
path: root/proto/ospf/config.Y
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-01 18:26:59 +0200
committerOndrej Filip <feela@network.cz>2000-06-01 18:26:59 +0200
commit4ab4e9778f35f8a123ee6bbc2387b9870859b707 (patch)
tree23b767755892747887dcd4336f13818058975c51 /proto/ospf/config.Y
parentcf318e3cd3206ad6a459a01e29e8494a100a67eb (diff)
downloadbird-4ab4e9778f35f8a123ee6bbc2387b9870859b707.tar
bird-4ab4e9778f35f8a123ee6bbc2387b9870859b707.zip
show ospf implemented.
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r--proto/ospf/config.Y3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index 9019759..0ee644c 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -40,6 +40,9 @@ CF_ADDTO(dynamic_attr, OSPF_METRIC1 { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF
CF_ADDTO(dynamic_attr, OSPF_METRIC2 { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, T_INT, EA_OSPF_METRIC2); })
CF_ADDTO(dynamic_attr, OSPF_TAG { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, T_INT, EA_OSPF_TAG); })
+CF_CLI(SHOW OSPF, optsym, [<name>], [[Show information about ospf protocol]])
+{ ospf_sh(proto_get_named($3, &proto_ospf)); } ;
+
CF_CLI(SHOW OSPF NEIGHBORS, optsym, [<name>], [[Show information about ospf neighbors]])
{ ospf_sh_neigh(proto_get_named($4, &proto_ospf)); } ;