summaryrefslogtreecommitdiff
path: root/nest/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-05-29 23:05:03 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2014-05-29 23:05:03 +0200
commit9eceab33f97724be148f9f05614d7551940e85f1 (patch)
tree0d7867c13fc96a80c6c21051a2c4f376a6a05b43 /nest/config.Y
parent05476c4d04a24bdb26fa64e05ab31bc36118f34e (diff)
String constants could be used for string option values.
Thanks to Frederik Kriewitz for the patch.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 85c06e74..eef7422c 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -208,7 +208,7 @@ proto_item:
| IMPORT KEEP FILTERED bool { this_proto->in_keep_filtered = $4; }
| TABLE rtable { this_proto->table = $2; }
| ROUTER ID idval { this_proto->router_id = $3; }
- | DESCRIPTION TEXT { this_proto->dsc = $2; }
+ | DESCRIPTION text { this_proto->dsc = $2; }
;
imexport:
@@ -388,7 +388,7 @@ password_item:
;
password_item_begin:
- PASSWORD TEXT {
+ PASSWORD text {
if (!this_p_list) {
this_p_list = cfg_alloc(sizeof(list));
init_list(this_p_list);