summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2015-02-22 16:08:28 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2015-02-22 17:21:54 +0100
commit6cf72d7ad7cbe1eb2f5b63660be6967d29b37044 (patch)
treed0b2576ae89cc4919befaac006f4efa345efb3f3 /proto/bgp/bgp.h
parenta1beb8f3ee7a6e41dbe4bfd336b8bf5eecb46d01 (diff)
Rename BGP option 'start delay' to 'connect delay'
Also update log message for error-triggered startup delay.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index ec0b99c5..2c2b02b8 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -51,10 +51,10 @@ struct bgp_config {
int allow_local_as; /* Allow that number of local ASNs in incoming AS_PATHs */
int gr_mode; /* Graceful restart mode (BGP_GR_*) */
unsigned gr_time; /* Graceful restart timeout */
- unsigned connect_retry_time;
+ unsigned connect_delay_time; /* Minimum delay between connect attempts */
+ unsigned connect_retry_time; /* Timeout for connect attempts */
unsigned hold_time, initial_hold_time;
unsigned keepalive_time;
- unsigned start_delay_time; /* Minimum delay between connects */
unsigned error_amnesia_time; /* Errors are forgotten after */
unsigned error_delay_time_min; /* Time to wait after an error is detected */
unsigned error_delay_time_max;