Revision f4a60a9b proto/bgp/config.Y

View differences:

proto/bgp/config.Y
112 112
 | bgp_proto CAPABILITIES bool ';' { BGP_CFG->capabilities = $3; }
113 113
 | bgp_proto ADVERTISE IPV4 bool ';' { BGP_CFG->advertise_ipv4 = $4; }
114 114
 | bgp_proto PASSWORD text ';' { BGP_CFG->password = $3; }
115
 | bgp_proto ROUTE LIMIT expr ';' {
116
     this_proto->in_limit = cfg_allocz(sizeof(struct proto_limit));
117
     this_proto->in_limit->limit = $4;
118
     this_proto->in_limit->action = PLA_RESTART;
119
     log(L_WARN "%s: Route limit option is deprecated, use import limit", this_proto->name);
120
   }
121 115
 | bgp_proto PASSIVE bool ';' { BGP_CFG->passive = $3; }
122 116
 | bgp_proto INTERPRET COMMUNITIES bool ';' { BGP_CFG->interpret_communities = $4; }
123 117
 | bgp_proto SECONDARY bool ';' { BGP_CFG->secondary = $3; }

Also available in: Unified diff