Just changes of comments.
This commit is contained in:
parent
6376a96133
commit
59e2188cb7
2 changed files with 1 additions and 5 deletions
|
@ -165,7 +165,6 @@ wait_timer_hook(timer *timer)
|
||||||
}
|
}
|
||||||
add_hello_timer(ifa);
|
add_hello_timer(ifa);
|
||||||
}
|
}
|
||||||
/* FIXME: Destroy timer */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -231,7 +230,6 @@ ospf_if_notify(struct proto *p, unsigned flags, struct iface *new, struct iface
|
||||||
struct ospf_config *c;
|
struct ospf_config *c;
|
||||||
c=(struct ospf_config *)(p->cf);
|
c=(struct ospf_config *)(p->cf);
|
||||||
|
|
||||||
|
|
||||||
DBG(" OSPF: If notify called\n");
|
DBG(" OSPF: If notify called\n");
|
||||||
|
|
||||||
if((flags & IF_CHANGE_UP) && is_good_iface(p, new))
|
if((flags & IF_CHANGE_UP) && is_good_iface(p, new))
|
||||||
|
|
|
@ -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_DROTHER 3 /* I'm on BCAST or NBMA and I'm not DR */
|
||||||
#define OSPF_IS_BACKUP 4 /* I'm BDR */
|
#define OSPF_IS_BACKUP 4 /* I'm BDR */
|
||||||
#define OSPF_IS_DR 5 /* I'm DR */
|
#define OSPF_IS_DR 5 /* I'm DR */
|
||||||
timer *timer; /* One shot Wait timer - used after DOWN->UP
|
timer *timer; /* WAIT and also HELLOINT time */
|
||||||
* And timer for hello */
|
|
||||||
|
|
||||||
/* Default values for interface parameters */
|
/* Default values for interface parameters */
|
||||||
#define COST_D 10
|
#define COST_D 10
|
||||||
#define RXMTINT_D 5
|
#define RXMTINT_D 5
|
||||||
|
|
Loading…
Reference in a new issue