From a8823a7dfa876c1a6f4aca964ee3a49b690e153d Mon Sep 17 00:00:00 2001 From: Brendan O'Dea Date: Fri, 2 Sep 2005 23:39:34 +0000 Subject: [PATCH] restart BGP on receipt of CEASE --- Changes | 3 ++- THANKS | 1 + bgp.c | 4 ++-- l2tpns.spec | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index 1b205bf..be6c2da 100644 --- a/Changes +++ b/Changes @@ -1,7 +1,8 @@ -* Thu Sep 1 2005 Brendan O'Dea 2.1.5 +* Sat Sep 3 2005 Brendan O'Dea 2.1.5 - Avoid Code-Reject loop. - Increase size of PPP buffers to MAXETHER. - Bug fixes for CLI ringbuffer and tunnel HELLO from Yuri. +- Restart rather than halt BGP on receipt of CEASE (Dominique Rousseau). * Mon Aug 29 2005 Brendan O'Dea 2.1.4 - Drop level of "Unexpected CHAP message" log. diff --git a/THANKS b/THANKS index 3262976..679ec31 100644 --- a/THANKS +++ b/THANKS @@ -17,3 +17,4 @@ Roberto Chostakovis Jordan Hrycaj Vladislav Bjelic Alex Kiernan +Dominique Rousseau diff --git a/bgp.c b/bgp.c index bfb8de9..b5f2bf3 100644 --- a/bgp.c +++ b/bgp.c @@ -10,7 +10,7 @@ * nor RFC2385 (which requires a kernel patch on 2.4 kernels). */ -char const *cvs_id_bgp = "$Id: bgp.c,v 1.11 2005-07-31 10:04:09 bodea Exp $"; +char const *cvs_id_bgp = "$Id: bgp.c,v 1.12 2005-09-02 23:39:36 bodea Exp $"; #include #include @@ -996,7 +996,7 @@ static int bgp_handle_input(struct bgp_peer *peer) if (notification->error_code == BGP_ERR_CEASE) { LOG(4, 0, 0, "BGP peer %s sent CEASE\n", peer->name); - bgp_halt(peer); + bgp_restart(peer); return 0; } diff --git a/l2tpns.spec b/l2tpns.spec index d54512a..ece8aae 100644 --- a/l2tpns.spec +++ b/l2tpns.spec @@ -43,5 +43,5 @@ rm -rf %{buildroot} %attr(644,root,root) /usr/share/man/man[58]/* %changelog -* Thu Sep 1 2005 Brendan O'Dea 2.1.5-1 +* Sat Sep 3 2005 Brendan O'Dea 2.1.5-1 - 2.1.5 release, see /usr/share/doc/l2tpns-2.1.5/Changes -- 2.20.1