1 --- a/bgpd/bgp_network.c
2 +++ b/bgpd/bgp_network.c
3 @@ -185,8 +185,7 @@ bgp_accept (struct thread *thread)
6 peer->local_id = peer1->local_id;
7 - peer->v_holdtime = peer1->v_holdtime;
8 - peer->v_keepalive = peer1->v_keepalive;
9 + peer->v_holdtime = BGP_LARGE_HOLDTIME;
11 /* Make peer's address string. */
12 sockunion2str (&su, buf, SU_ADDRSTRLEN);
15 @@ -709,6 +709,7 @@ struct bgp_nlri
16 /* BGP timers default value. */
17 #define BGP_INIT_START_TIMER 5
18 #define BGP_ERROR_START_TIMER 30
19 +#define BGP_LARGE_HOLDTIME 240
20 #define BGP_DEFAULT_HOLDTIME 180
21 #define BGP_DEFAULT_KEEPALIVE 60
22 #define BGP_DEFAULT_ASORIGINATE 15