summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-06 02:52:35 +0200
committerOndrej Filip <feela@network.cz>2000-06-06 02:52:35 +0200
commit80787d418bd028f59e34ffb08c1c221992fe3b41 (patch)
treec899a5e13b45a6f871a0d4f8423a65b1a85cf73e /proto
parentf8f1e1f110c3ff1aec03a9fa918257cf4d29e916 (diff)
downloadbird-80787d418bd028f59e34ffb08c1c221992fe3b41.tar
bird-80787d418bd028f59e34ffb08c1c221992fe3b41.zip
Dummy reconfigure added.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/ospf.c31
1 files changed, 19 insertions, 12 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 1fcd691..2c89828 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -321,18 +321,11 @@ ospf_get_attr(eattr *a, byte *buf)
}
}
-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
-};
+static int
+ospf_reconfigure(struct proto *p, struct proto_config *c)
+{
+ return 0; /* Alway down :-( */
+}
void
ospf_sh_neigh(struct proto *p, char *iff)
@@ -471,3 +464,17 @@ ospf_sh_iface(struct proto *p, char *iff)
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
+};
+