summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 14:52:12 +0200
committerOndrej Filip <feela@network.cz>2000-05-31 14:52:12 +0200
commite0bbb7b7ef1aabbf037190225ebac11f7812ae84 (patch)
tree394822cac6c8ca60e6c987fba188f6436a229ee8 /proto/ospf/neighbor.c
parenta7a3a0a383a9dadcd93d876e7d9b43f870f20941 (diff)
downloadbird-e0bbb7b7ef1aabbf037190225ebac11f7812ae84.tar
bird-e0bbb7b7ef1aabbf037190225ebac11f7812ae84.zip
Very ancient bug in (B)DR election, I didn't fill correctly my own IP.
Diffstat (limited to 'proto/ospf/neighbor.c')
-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);