Revision 4847a894 proto/bgp/config.Y

View differences:

proto/bgp/config.Y
20 20
	MULTIHOP, STARTUP, VIA, NEXT, HOP, SELF, DEFAULT, PATH, METRIC,
21 21
	ERROR, START, DELAY, FORGET, WAIT, DISABLE, AFTER,
22 22
	BGP_PATH, BGP_LOCAL_PREF, BGP_MED, BGP_ORIGIN, BGP_NEXT_HOP,
23
	BGP_ATOMIC_AGGR, BGP_AGGREGATOR, BGP_COMMUNITY, SOURCE, ADDRESS, PASSWORD)
23
	BGP_ATOMIC_AGGR, BGP_AGGREGATOR, BGP_COMMUNITY, SOURCE, ADDRESS,
24
	PASSWORD, RR, CLIENT, CLUSTER, ID)
24 25

  
25 26
CF_GRAMMAR
26 27

  
......
38 39
     BGP_CFG->error_amnesia_time = 300;
39 40
     BGP_CFG->error_delay_time_min = 60;
40 41
     BGP_CFG->error_delay_time_max = 300;
41
     BGP_CFG->password = NULL;
42 42
 }
43 43
 ;
44 44

  
......
52 52
     BGP_CFG->remote_ip = $3;
53 53
     BGP_CFG->remote_as = $5;
54 54
   }
55
 | bgp_proto RR CLUSTER ID expr ';' { BGP_CFG->rr_cluster_id = $5; }
56
 | bgp_proto RR CLIENT ';' { BGP_CFG->rr_client = 1; }
55 57
 | bgp_proto HOLD TIME expr ';' { BGP_CFG->hold_time = $4; }
56 58
 | bgp_proto STARTUP HOLD TIME expr ';' { BGP_CFG->initial_hold_time = $5; }
57 59
 | bgp_proto CONNECT RETRY TIME expr ';' { BGP_CFG->connect_retry_time = $5; }

Also available in: Unified diff