summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-09-19 13:02:25 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-09-19 13:02:25 +0000
commit8b0797c7c17a7e7a50c468b0f557fe370b9cad86 (patch)
tree5dff70c205ae8a3ac8119d8faa1a27f759e2870f /usr.sbin/bgpd/rde.c
parent4bd98beed0673152e2fe1a5f9b380b900bc98241 (diff)
when the neighbor announced the restart capability, send the end-of-rib
marker after a bulk transfer, claudio ok
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index b51cc4c78ad..9f0be4eaa8b 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.211 2006/08/23 08:13:04 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.212 2006/09/19 13:02:24 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -2348,10 +2348,8 @@ peer_dump(u_int32_t id, u_int16_t afi, u_int8_t safi)
pt_dump(rde_up_dump_upcall, peer, AF_INET6);
}
-#if 0
- /* do not send EOR for now, juniper apparently has a problem with it */
- peer_send_eor(peer, afi, safi);
-#endif
+ if (peer->capa_received.restart && peer->capa_announced.restart)
+ peer_send_eor(peer, afi, safi);
}
/* End-of-RIB marker, draft-ietf-idr-restart-13.txt */