diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2014-05-29 23:05:03 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2014-05-29 23:05:03 +0200 |
commit | 9eceab33f97724be148f9f05614d7551940e85f1 (patch) | |
tree | 0d7867c13fc96a80c6c21051a2c4f376a6a05b43 /proto/bgp/config.Y | |
parent | 05476c4d04a24bdb26fa64e05ab31bc36118f34e (diff) |
String constants could be used for string option values.
Thanks to Frederik Kriewitz for the patch.
Diffstat (limited to 'proto/bgp/config.Y')
-rw-r--r-- | proto/bgp/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y index 6b885032..4d085d42 100644 --- a/proto/bgp/config.Y +++ b/proto/bgp/config.Y @@ -103,7 +103,7 @@ bgp_proto: | bgp_proto ENABLE AS4 bool ';' { BGP_CFG->enable_as4 = $4; } | bgp_proto CAPABILITIES bool ';' { BGP_CFG->capabilities = $3; } | bgp_proto ADVERTISE IPV4 bool ';' { BGP_CFG->advertise_ipv4 = $4; } - | bgp_proto PASSWORD TEXT ';' { BGP_CFG->password = $3; } + | bgp_proto PASSWORD text ';' { BGP_CFG->password = $3; } | bgp_proto ROUTE LIMIT expr ';' { this_proto->in_limit = cfg_allocz(sizeof(struct proto_limit)); this_proto->in_limit->limit = $4; |