From 01765f36e2313657551f57c2472f892a03d1be49 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Fri, 21 Oct 2005 08:29:26 +0000 Subject: 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@ --- usr.sbin/ospfd/lsupdate.c | 10 ++-------- 1 file 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 @@ -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; } -- cgit v1.2.3