summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@trubka.network.cz>2010-02-20 21:14:02 +0100
committerOndrej Filip <feela@trubka.network.cz>2010-02-20 21:14:02 +0100
commit89534cdae500cc82d9081088be90013e4121542d (patch)
treef17c25471ebc3c08be12981467863ca72ba0f70d
parenta68066538fde600941ea43c40d777e14cfac0ee7 (diff)
'rr client id' is not expression but ID (like router id).
-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 095e1cec..f882aaa5 100644
--- a/proto/bgp/config.Y
+++ b/proto/bgp/config.Y
@@ -59,7 +59,7 @@ bgp_proto:
BGP_CFG->remote_ip = $3;
BGP_CFG->remote_as = $5;
}
- | bgp_proto RR CLUSTER ID expr ';' { BGP_CFG->rr_cluster_id = $5; }
+ | bgp_proto RR CLUSTER ID idval ';' { BGP_CFG->rr_cluster_id = $5; }
| bgp_proto RR CLIENT ';' { BGP_CFG->rr_client = 1; }
| bgp_proto RS CLIENT ';' { BGP_CFG->rs_client = 1; }
| bgp_proto HOLD TIME expr ';' { BGP_CFG->hold_time = $4; }