projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36141c
)
Wait before retrying on CEASE.
author
Benjamin Cama
<benoar@dolka.fr>
Sat, 23 Jul 2011 16:57:27 +0000
(18:57 +0200)
committer
Benjamin Cama
<benoar@dolka.fr>
Fri, 29 Jul 2011 10:54:00 +0000
(12:54 +0200)
Using bgp_restart() floods the peer with connection requests. Use bgp_retry()
instead.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
bgp.c
patch
|
blob
|
history
diff --git
a/bgp.c
b/bgp.c
index
4b7f949
..
f643921
100644
(file)
--- a/
bgp.c
+++ b/
bgp.c
@@
-1011,7
+1011,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_
restart
(peer);
+ bgp_
set_retry
(peer);
return 0;
}