summaryrefslogtreecommitdiff
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-06-05 09:28:17 +0000
committerMartin Mares <mj@ucw.cz>2004-06-05 09:28:17 +0000
commit1512813e95a7edd2fad2834221dc1cb79aab6406 (patch)
tree9f32693281ed351a464b58b3bd1171b928f735be /proto/ospf/hello.c
parentc91fc9b6064e988e7526ecedd6b9e25f0204c4b7 (diff)
... and a whole bunch of unused parameters and variables in ospf.
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r--proto/ospf/hello.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index 68378586..f09860f1 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -13,13 +13,12 @@ ospf_hello_receive(struct ospf_hello_packet *ps,
struct ospf_iface *ifa, int size, ip_addr faddr)
{
u32 nrid, *pnrid;
- struct ospf_neighbor *neigh, *n;
+ struct ospf_neighbor *n;
u8 i, twoway, oldpriority;
ip_addr olddr, oldbdr;
ip_addr mask;
char *beg = "Bad OSPF hello packet from ", *rec = " received: ";
int eligible = 0;
- pool *pool;
struct proto *p = (struct proto *) ifa->proto;
nrid = ntohl(((struct ospf_packet *) ps)->routerid);