summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--proto/ospf/neighbor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index a55a948..3de4071 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -310,6 +310,7 @@ bdr_election(struct ospf_iface *ifa, struct proto *p)
me.priority=ifa->priority;
me.dr=ifa->drid;
me.bdr=ifa->bdrid;
+ me.ip=ifa->iface->addr->ip;
add_tail(&ifa->neigh_list, NODE &me);