Revision c8236a50 proto/bgp/config.Y

View differences:

proto/bgp/config.Y
28 28
	BGP_CLUSTER_LIST, IGP, TABLE, GATEWAY, DIRECT, RECURSIVE, MED, TTL,
29 29
	SECURITY, DETERMINISTIC, SECONDARY, ALLOW, BFD, ADD, PATHS, RX, TX,
30 30
	GRACEFUL, RESTART, AWARE, CHECK, LINK, PORT, EXTENDED, MESSAGES, SETKEY,
31
	STRICT, BIND, CONFEDERATION, MEMBER, MULTICAST, FLOW4, FLOW6)
31
	STRICT, BIND, CONFEDERATION, MEMBER, MULTICAST, FLOW4, FLOW6, JITTER)
32 32

  
33 33
%type <i32> bgp_afi
34 34

  
......
44 44
     BGP_CFG->hold_time = 240;
45 45
     BGP_CFG->mrai_time = 0;
46 46
     BGP_CFG->mrai_type = 0;
47
     BGP_CFG->mrai_jitter = 25;
47 48
     BGP_CFG->initial_hold_time = 240;
48 49
     BGP_CFG->compare_path_lengths = 1;
49 50
     BGP_CFG->igp_metric = 1;
......
101 102
 | bgp_proto HOLD TIME expr ';' { BGP_CFG->hold_time = $4; }
102 103
 | bgp_proto MRAI TIME expr ';' { BGP_CFG->mrai_time = $4; }
103 104
 | bgp_proto MRAI TYPE expr ';' { BGP_CFG->mrai_type = $4; }
105
 | bgp_proto MRAI JITTER expr ';' { BGP_CFG->mrai_jitter = $4; if (($4<1) || ($4>100)) cf_error("jitter must be in range 1-100");}
104 106
 | bgp_proto STARTUP HOLD TIME expr ';' { BGP_CFG->initial_hold_time = $5; }
105 107
 | bgp_proto DIRECT ';' { BGP_CFG->multihop = 0; }
106 108
 | bgp_proto MULTIHOP ';' { BGP_CFG->multihop = 64; }

Also available in: Unified diff