From f851f0d7e30cbd1e2ba20a5bf06a584acc136828 Mon Sep 17 00:00:00 2001 From: Jan Maria Matejka Date: Tue, 26 Jun 2018 14:29:03 +0200 Subject: Config: Dropping CF_ADDTO. --- proto/rip/config.Y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proto/rip/config.Y') diff --git a/proto/rip/config.Y b/proto/rip/config.Y index c46cf00c..172299d0 100644 --- a/proto/rip/config.Y +++ b/proto/rip/config.Y @@ -42,7 +42,7 @@ CF_KEYWORDS(RIP, NG, ECMP, LIMIT, WEIGHT, INFINITY, METRIC, UPDATE, TIMEOUT, CF_GRAMMAR -CF_ADDTO(proto, rip_proto) +proto: rip_proto ; rip_variant: RIP { $$ = 1; } @@ -186,8 +186,8 @@ rip_iface: rip_iface_start iface_patt_list_nopx rip_iface_opt_list rip_iface_finish; -CF_ADDTO(dynamic_attr, RIP_METRIC { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_RIP_METRIC); }) -CF_ADDTO(dynamic_attr, RIP_TAG { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_RIP_TAG); }) +dynamic_attr: RIP_METRIC { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_RIP_METRIC); } ; +dynamic_attr: RIP_TAG { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_RIP_TAG); } ; CF_CLI_HELP(SHOW RIP, ..., [[Show information about RIP protocol]]); -- cgit v1.2.3