summaryrefslogtreecommitdiffstats
path: root/nest
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 /nest
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 'nest')
-rw-r--r--nest/route.h2
-rw-r--r--nest/rt-attr.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/nest/route.h b/nest/route.h
index 375ea9b..aa21596 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -300,7 +300,7 @@ typedef struct eattr {
#define EAF_TYPE_UNDEF 0x0f /* `force undefined' entry */
#define EAF_EMBEDDED 0x01 /* Data stored in eattr.u.data (part of type spec) */
#define EAF_VAR_LENGTH 0x02 /* Attribute length is variable */
-#define EAF_INLINE 0x80 /* Copy of an attribute inlined in rte (temporary ea_lists only) */
+#define EAF_TEMP 0x80 /* A temporary attribute (the one stored in the tmp attr list) */
struct adata {
unsigned int length;
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 43bf5fe..75cdf39 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -253,8 +253,8 @@ ea_dump(ea_list *e)
{
eattr *a = &e->attrs[i];
debug(" %02x:%02x.%02x", EA_PROTO(a->id), EA_ID(a->id), a->flags);
- if (a->type & EAF_INLINE)
- debug("*");
+ if (a->type & EAF_TEMP)
+ debug("T");
debug("=%c", "?iO?I?P???S?????" [a->type & EAF_TYPE_MASK]);
if (a->type & EAF_EMBEDDED)
debug(":%08x", a->u.data);