summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-30 13:07:31 +0200
committerOndrej Filip <feela@network.cz>2000-05-30 13:07:31 +0200
commit04c3a83c60253d5c71500194a19160538c0da034 (patch)
treea5f6fb77f93a7e0a704d5428de11f0774d687cf6 /proto/ospf
parent0dc4431cde1eeb06d9b4d7dbf18242919ce2811a (diff)
downloadbird-04c3a83c60253d5c71500194a19160538c0da034.tar
bird-04c3a83c60253d5c71500194a19160538c0da034.zip
Better inicialisation.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/ospf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 5cc93b8..5a8c34e 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -12,7 +12,7 @@ static int
ospf_start(struct proto *p)
{
struct proto_ospf *po=(struct proto_ospf *)p;
- DBG("%s: Start\n",p->name);
+ debug("%s: Start\n",p->name);
fib_init(&po->efib,p->pool,sizeof(struct extfib),16,init_efib);
init_list(&(po->iface_list));
@@ -66,6 +66,7 @@ ospf_init(struct proto_config *c)
p->neigh_notify = NULL;
p->import_control = ospf_import_control;
p->rt_notify = ospf_rt_notify;
+ p->if_notify = ospf_if_notify;
p->rte_better=ospf_rte_better;
p->rte_same=ospf_rte_same;