summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-10 13:48:34 +0200
committerPavel Machek <pavel@ucw.cz>2000-05-10 13:48:34 +0200
commitbe3b6dc574c26ab3292fb2ceb94809242bea3d79 (patch)
treec562d17a06bdd6247180491b9a2bc0eb91c5b94f /proto
parent28950169e7ac82ceb9a6d72fe2789714b4073eb2 (diff)
downloadbird-be3b6dc574c26ab3292fb2ceb94809242bea3d79.tar
bird-be3b6dc574c26ab3292fb2ceb94809242bea3d79.zip
Killed unused variable.
Diffstat (limited to 'proto')
-rw-r--r--proto/rip/rip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 5c90a45..945d7aa 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -643,6 +643,7 @@ rip_real_if_add(struct object_lock *lock)
DBG("adding interface %s\n", iface->name );
rif = new_iface(p, iface, iface->flags, k);
add_head( &P->interfaces, NODE rif );
+ DBG("Adding object lock of %p\n", lock);
rif->lock = lock;
}
@@ -662,12 +663,11 @@ rip_if_notify(struct proto *p, unsigned c, struct iface *iface)
}
}
if (c & IF_CHANGE_UP) {
- struct rip_interface *rif;
struct iface_patt *k = iface_patt_match(&P_CF->iface_list, iface);
struct object_lock *lock;
if (!k) return; /* We are not interested in this interface */
-
+
lock = olock_new( p->pool );
#ifndef IPV6
lock->addr = ipa_from_u32(0xe0000009); /* This is okay: we