0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

This prevents infinite loop when bird has more that 60 neighbors. Thanks to Rani Assaf

This commit is contained in:
Ondrej Filip 2003-09-03 17:31:23 +00:00
parent bf135bcb1f
commit 35a86ceb40

View File

@ -59,7 +59,8 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
{
u32 nrid, *pnrid;
struct ospf_neighbor *neigh,*n;
u8 i,twoway,oldpriority;
u8 twoway,oldpriority;
u32 i;
ip_addr olddr,oldbdr;
ip_addr mask;
char *beg=": Bad OSPF hello packet from ", *rec=" received: ";