summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/ospf.c2
-rw-r--r--proto/ospf/ospf.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 97355bc..6aedb2a 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -165,7 +165,6 @@ wait_timer_hook(timer *timer)
}
add_hello_timer(ifa);
}
- /* FIXME: Destroy timer */
}
void
@@ -231,7 +230,6 @@ ospf_if_notify(struct proto *p, unsigned flags, struct iface *new, struct iface
struct ospf_config *c;
c=(struct ospf_config *)(p->cf);
-
DBG(" OSPF: If notify called\n");
if((flags & IF_CHANGE_UP) && is_good_iface(p, new))
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 26d201a..b96ee91 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -55,9 +55,7 @@ struct ospf_iface {
#define OSPF_IS_DROTHER 3 /* I'm on BCAST or NBMA and I'm not DR */
#define OSPF_IS_BACKUP 4 /* I'm BDR */
#define OSPF_IS_DR 5 /* I'm DR */
- timer *timer; /* One shot Wait timer - used after DOWN->UP
- * And timer for hello */
-
+ timer *timer; /* WAIT and also HELLOINT time */
/* Default values for interface parameters */
#define COST_D 10
#define RXMTINT_D 5