diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/rip/config.Y | 4 | ||||
-rw-r--r-- | proto/rip/rip.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y index 99b0f9a..6e9a72a 100644 --- a/proto/rip/config.Y +++ b/proto/rip/config.Y @@ -98,8 +98,8 @@ rip_iface_list: | rip_iface_list ',' rip_iface ; -CF_ADDTO(dynamic_attr, RIP_METRIC { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_INLINE, EA_RIP_METRIC); }) -CF_ADDTO(dynamic_attr, RIP_TAG { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_INLINE, EA_RIP_TAG); }) +CF_ADDTO(dynamic_attr, RIP_METRIC { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, EA_RIP_METRIC); }) +CF_ADDTO(dynamic_attr, RIP_TAG { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, EA_RIP_TAG); }) CF_CODE diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 2808e05..1f35673 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -642,11 +642,11 @@ rip_gen_attrs(struct proto *p, struct linpool *pool, int metric, u16 tag) l->count = 2; l->attrs[0].id = EA_RIP_TAG; l->attrs[0].flags = 0; - l->attrs[0].type = EAF_TYPE_INT | EAF_INLINE; + l->attrs[0].type = EAF_TYPE_INT | EAF_TEMP; l->attrs[0].u.data = tag; l->attrs[1].id = EA_RIP_METRIC; l->attrs[1].flags = 0; - l->attrs[1].type = EAF_TYPE_INT | EAF_INLINE; + l->attrs[1].type = EAF_TYPE_INT | EAF_TEMP; l->attrs[1].u.data = metric; return l; } |