This prevents infinite loop when bird has more that 60 neighbors. Thanks to Rani Assaf
This commit is contained in:
parent
bf135bcb1f
commit
35a86ceb40
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,8 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
|
||||||
{
|
{
|
||||||
u32 nrid, *pnrid;
|
u32 nrid, *pnrid;
|
||||||
struct ospf_neighbor *neigh,*n;
|
struct ospf_neighbor *neigh,*n;
|
||||||
u8 i,twoway,oldpriority;
|
u8 twoway,oldpriority;
|
||||||
|
u32 i;
|
||||||
ip_addr olddr,oldbdr;
|
ip_addr olddr,oldbdr;
|
||||||
ip_addr mask;
|
ip_addr mask;
|
||||||
char *beg=": Bad OSPF hello packet from ", *rec=" received: ";
|
char *beg=": Bad OSPF hello packet from ", *rec=" received: ";
|
||||||
|
|
Loading…
Reference in a new issue