summaryrefslogtreecommitdiffstats
path: root/proto/rip
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-04 23:30:44 +0100
committerMartin Mares <mj@ucw.cz>2000-03-04 23:30:44 +0100
commit9f4929e749d945c727f245ed7ef30c557124c352 (patch)
treec95402b0e521b61a9f45ac39c6f24228330e9ffd /proto/rip
parentb9626ec6eaf299b889f52d017d025f356b43371a (diff)
downloadbird-9f4929e749d945c727f245ed7ef30c557124c352.tar
bird-9f4929e749d945c727f245ed7ef30c557124c352.zip
Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/config.Y4
-rw-r--r--proto/rip/rip.c4
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;
}