summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-09 00:32:17 +0200
committerMartin Mares <mj@ucw.cz>2000-05-09 00:32:17 +0200
commitc09d1e8df2d5d1ebfb4ce3dfbe93347a83acd99d (patch)
treeeb240303343941cef18aad0ba52fcb3d3f49c8ec
parent5ff0a270cb411d423a78ed13604a5f2b25d4b289 (diff)
downloadbird-c09d1e8df2d5d1ebfb4ce3dfbe93347a83acd99d.tar
bird-c09d1e8df2d5d1ebfb4ce3dfbe93347a83acd99d.zip
KEEPALIVE TIME ought to set keepalive time, not connect retry time :)
-rw-r--r--proto/bgp/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y
index c4514d1..d864041 100644
--- a/proto/bgp/config.Y
+++ b/proto/bgp/config.Y
@@ -56,7 +56,7 @@ bgp_proto:
| bgp_proto HOLD TIME NUM ';' { BGP_CFG->hold_time = $4; }
| bgp_proto STARTUP HOLD TIME NUM ';' { BGP_CFG->initial_hold_time = $5; }
| bgp_proto CONNECT RETRY TIME NUM ';' { BGP_CFG->connect_retry_time = $5; }
- | bgp_proto KEEPALIVE TIME NUM ';' { BGP_CFG->connect_retry_time = $4; }
+ | bgp_proto KEEPALIVE TIME NUM ';' { BGP_CFG->keepalive_time = $4; }
| bgp_proto MULTIHOP NUM VIA IPA ';' { BGP_CFG->multihop = $3; BGP_CFG->multihop_via = $5; }
| bgp_proto NEXT HOP SELF ';' { BGP_CFG->next_hop_self = 1; }
| bgp_proto PATH METRIC NUM ';' { BGP_CFG->compare_path_lengths = $4; }