summaryrefslogtreecommitdiff
path: root/proto/radv/config.Y
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-06-26 14:29:03 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-06-26 14:29:03 +0200
commitf851f0d7e30cbd1e2ba20a5bf06a584acc136828 (patch)
treed9f5b0fb7df29698ed34821d37486e55d4061ace /proto/radv/config.Y
parent1771f70d7473b8c8e0c6bd47d5c35cc5fbe7eb19 (diff)
Config: Dropping CF_ADDTO.
Diffstat (limited to 'proto/radv/config.Y')
-rw-r--r--proto/radv/config.Y6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/radv/config.Y b/proto/radv/config.Y
index 37815f0d..53715f77 100644
--- a/proto/radv/config.Y
+++ b/proto/radv/config.Y
@@ -39,7 +39,7 @@ CF_ENUM(T_ENUM_RA_PREFERENCE, RA_PREF_, LOW, MEDIUM, HIGH)
CF_GRAMMAR
-CF_ADDTO(proto, radv_proto)
+proto: radv_proto ;
radv_proto_start: proto_start RADV
{
@@ -332,8 +332,8 @@ radv_sensitive:
| SENSITIVE bool { $$ = $2; }
;
-CF_ADDTO(dynamic_attr, RA_PREFERENCE { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_ENUM_RA_PREFERENCE, EA_RA_PREFERENCE); })
-CF_ADDTO(dynamic_attr, RA_LIFETIME { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_RA_LIFETIME); })
+dynamic_attr: RA_PREFERENCE { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_ENUM_RA_PREFERENCE, EA_RA_PREFERENCE); } ;
+dynamic_attr: RA_LIFETIME { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_RA_LIFETIME); } ;
CF_CODE