summaryrefslogtreecommitdiffstats
path: root/proto/rip
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-03-14 16:36:59 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-03-14 16:36:59 +0100
commit0aad2b9292f8e5ff32d048378faf80d2d0bfbb80 (patch)
treee245c5adb1392fee5d402b25823b558969f9cd13 /proto/rip
parent54305181f6ee3af57dd3d15d53ea2e851b36ed23 (diff)
downloadbird-0aad2b9292f8e5ff32d048378faf80d2d0bfbb80.tar
bird-0aad2b9292f8e5ff32d048378faf80d2d0bfbb80.zip
Temporary OSPF commit - sockets.
Diffstat (limited to 'proto/rip')
-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 3b95a3e..0e5320c 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -761,7 +761,7 @@ rip_real_if_add(struct object_lock *lock)
struct iface *iface = lock->iface;
struct proto *p = lock->data;
struct rip_interface *rif;
- struct iface_patt *k = iface_patt_find(&P_CF->iface_list, iface);
+ struct iface_patt *k = iface_patt_find(&P_CF->iface_list, iface, iface->addr);
if (!k)
bug("This can not happen! It existed few seconds ago!" );
@@ -790,7 +790,7 @@ rip_if_notify(struct proto *p, unsigned c, struct iface *iface)
}
}
if (c & IF_CHANGE_UP) {
- struct iface_patt *k = iface_patt_find(&P_CF->iface_list, iface);
+ struct iface_patt *k = iface_patt_find(&P_CF->iface_list, iface, iface->addr);
struct object_lock *lock;
struct rip_patt *PATT = (struct rip_patt *) k;