diff options
author | Ondrej Filip <feela@network.cz> | 2003-09-03 19:31:23 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2003-09-03 19:31:23 +0200 |
commit | 35a86ceb4082d8d31e6949f8d454eaa28c498a86 (patch) | |
tree | 4b67e618e3e69fef46fca107ec01b7c47392d1a3 /proto/ospf | |
parent | bf135bcb1feca7b9ee35342c239ed3a66415d854 (diff) | |
download | bird-35a86ceb4082d8d31e6949f8d454eaa28c498a86.tar bird-35a86ceb4082d8d31e6949f8d454eaa28c498a86.zip |
This prevents infinite loop when bird has more that 60 neighbors. Thanks to Rani Assaf
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/hello.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c index b87b5ca..a80dfa2 100644 --- a/proto/ospf/hello.c +++ b/proto/ospf/hello.c @@ -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: "; |