diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-04 22:30:44 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-04 22:30:44 +0000 |
commit | 9f4929e749d945c727f245ed7ef30c557124c352 (patch) | |
tree | c95402b0e521b61a9f45ac39c6f24228330e9ffd /nest | |
parent | b9626ec6eaf299b889f52d017d025f356b43371a (diff) |
Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/route.h | 2 | ||||
-rw-r--r-- | nest/rt-attr.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nest/route.h b/nest/route.h index 375ea9bf..aa21596e 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 43bf5fe9..75cdf39b 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); |