]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Better inicialisation.
authorOndrej Filip <feela@network.cz>
Tue, 30 May 2000 11:07:31 +0000 (11:07 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 30 May 2000 11:07:31 +0000 (11:07 +0000)
proto/ospf/ospf.c

index 5cc93b825e78897966a2635274da142869aed133..5a8c34e50cf341d491112405aa5fbb538ffae49b 100644 (file)
@@ -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;