summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/lsupdate.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-10-21 08:29:26 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-10-21 08:29:26 +0000
commit01765f36e2313657551f57c2472f892a03d1be49 (patch)
treed2462fef2e4deda695e67b6b391e1a4badc488af /usr.sbin/ospfd/lsupdate.c
parent7c602e2e75f8eaa3f050128f05fee837b9c9a6b0 (diff)
Revert part of rev 1.14. For now queue LSAs to all neighbors if the interface
is in state BACKUP or DR -- even to the DR. This causes unneeded retransmission of LSAs but solves a problem with self originated ones. The BDR was no longer capable to reliably flood self originated LSA. Better solution will follow. Reported by stevesk@
Diffstat (limited to 'usr.sbin/ospfd/lsupdate.c')
-rw-r--r--usr.sbin/ospfd/lsupdate.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.sbin/ospfd/lsupdate.c b/usr.sbin/ospfd/lsupdate.c
index cd227414bc4..b5503b6b2d2 100644
--- a/usr.sbin/ospfd/lsupdate.c
+++ b/usr.sbin/ospfd/lsupdate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsupdate.c,v 1.18 2005/10/19 22:00:37 stevesk Exp $ */
+/* $OpenBSD: lsupdate.c,v 1.19 2005/10/21 08:29:25 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -85,13 +85,7 @@ lsa_flood(struct iface *iface, struct nbr *originator, struct lsa_hdr *lsa_hdr,
if (!queued)
ls_retrans_list_add(iface->self, data);
queued = 1;
- } else if (iface->dr != nbr) {
- /*
- * DR and BDR queue a packet to all other routers
- * exept to the DR. The BDR does not need to
- * retransmit LSA to the DR -- this will be done
- * by the originatior.
- */
+ } else {
ls_retrans_list_add(nbr, data);
queued = 1;
}