Dummy reconfigure added.

This commit is contained in:
Ondrej Filip 2000-06-06 00:52:35 +00:00
parent f8f1e1f110
commit 80787d418b

View file

@ -321,18 +321,11 @@ ospf_get_attr(eattr *a, byte *buf)
} }
} }
struct protocol proto_ospf = { static int
name: "OSPF", ospf_reconfigure(struct proto *p, struct proto_config *c)
template: "ospf%d", {
attr_class: EAP_OSPF, return 0; /* Alway down :-( */
init: ospf_init, }
dump: ospf_dump,
start: ospf_start,
shutdown: ospf_shutdown,
get_route_info: ospf_get_route_info,
get_attr: ospf_get_attr,
get_status: ospf_get_status
};
void void
ospf_sh_neigh(struct proto *p, char *iff) ospf_sh_neigh(struct proto *p, char *iff)
@ -471,3 +464,17 @@ ospf_sh_iface(struct proto *p, char *iff)
cli_msg(0,""); cli_msg(0,"");
} }
struct protocol proto_ospf = {
name: "OSPF",
template: "ospf%d",
attr_class: EAP_OSPF,
init: ospf_init,
dump: ospf_dump,
start: ospf_start,
shutdown: ospf_shutdown,
get_route_info: ospf_get_route_info,
get_attr: ospf_get_attr,
get_status: ospf_get_status,
reconfigure: ospf_reconfigure
};