diff options
author | Jan Maria Matejka <mq@ucw.cz> | 2018-06-26 14:29:03 +0200 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-06-26 14:29:03 +0200 |
commit | f851f0d7e30cbd1e2ba20a5bf06a584acc136828 (patch) | |
tree | d9f5b0fb7df29698ed34821d37486e55d4061ace /proto/rip/config.Y | |
parent | 1771f70d7473b8c8e0c6bd47d5c35cc5fbe7eb19 (diff) |
Config: Dropping CF_ADDTO.
Diffstat (limited to 'proto/rip/config.Y')
-rw-r--r-- | proto/rip/config.Y | 6 |
1 files changed, 3 insertions, 3 deletions
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]]); |