Revision f623ab98 proto/ospf/config.Y

View differences:

proto/ospf/config.Y
158 158
ospf_proto_item:
159 159
   proto_item
160 160
 | RFC1583COMPAT bool { OSPF_CFG->rfc1583 = $2; }
161
 | STUB ROUTER bool { OSPF_CFG->stub_router = $3; }
161 162
 | ECMP bool { OSPF_CFG->ecmp = $2 ? DEFAULT_ECMP_LIMIT : 0; }
162 163
 | ECMP bool LIMIT expr { OSPF_CFG->ecmp = $2 ? $4 : 0; if ($4 < 0) cf_error("ECMP limit cannot be negative"); }
163 164
 | TICK expr { OSPF_CFG->tick = $2; if($2<=0) cf_error("Tick must be greater than zero"); }

Also available in: Unified diff