From 781aa475aaa7503d4a86f0d4b8771cd027d30c04 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Mon, 31 May 2004 13:22:49 +0000 Subject: Minor bug fix in neighbor state machine. --- proto/ospf/hello.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'proto/ospf/hello.c') diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c index a80dfa2..5627d7e 100644 --- a/proto/ospf/hello.c +++ b/proto/ospf/hello.c @@ -7,6 +7,8 @@ */ #include "ospf.h" +#include +#include "lib/sysio.h" void install_inactim(struct ospf_neighbor *n) @@ -59,8 +61,7 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p, { u32 nrid, *pnrid; struct ospf_neighbor *neigh,*n; - u8 twoway,oldpriority; - u32 i; + u8 i,twoway,oldpriority; ip_addr olddr,oldbdr; ip_addr mask; char *beg=": Bad OSPF hello packet from ", *rec=" received: "; -- cgit v1.2.3