diff options
author | Maria Matejka <mq@jmq.cz> | 2019-07-03 00:00:11 +0200 |
---|---|---|
committer | Maria Matejka <mq@jmq.cz> | 2019-07-03 00:00:11 +0200 |
commit | 78976974e711e52c3b8fa6a80b290cf2fa4f692d (patch) | |
tree | bac64a14c7131b6ae44551c77af47a6095ff591f /proto/rip/config.Y | |
parent | 263fa2c4a6bf226172a6aef9a6b8198a5901c5bf (diff) |
Dynamic attributes definition split whether it is bitmask or not.
Diffstat (limited to 'proto/rip/config.Y')
-rw-r--r-- | proto/rip/config.Y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y index 4ab793d1..5b5f94a0 100644 --- a/proto/rip/config.Y +++ b/proto/rip/config.Y @@ -186,8 +186,8 @@ rip_iface: rip_iface_start iface_patt_list_nopx rip_iface_opt_list rip_iface_finish; -dynamic_attr: RIP_METRIC { $$ = f_new_dynamic_attr(EAF_TYPE_INT, 0, T_INT, EA_RIP_METRIC); } ; -dynamic_attr: RIP_TAG { $$ = f_new_dynamic_attr(EAF_TYPE_INT, 0, 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]]); |