summaryrefslogtreecommitdiff
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-10-31 17:14:35 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-10-31 17:14:35 +0100
commitdd4da6f640fb581cbd7d1ca537bf382558492b8e (patch)
tree13584e9c9e5f9bd30022563a0257db25f96b74b0 /proto/ospf/neighbor.c
parent8249ad9b304ea88b29e3aea76ebe49bb50348aaa (diff)
Fixes another bug in OSPFv3 vlinks.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 642365b3..26d81dce 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -459,7 +459,7 @@ bdr_election(struct ospf_iface *ifa)
#else /* OSPFv3 */
me.dr = ifa->drid;
me.bdr = ifa->bdrid;
- me.iface_id = ifa->iface->index;
+ me.iface_id = ifa->iface_id;
#endif
add_tail(&ifa->neigh_list, NODE & me);