From 9f4929e749d945c727f245ed7ef30c557124c352 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 4 Mar 2000 22:30:44 +0000 Subject: Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning. --- nest/route.h | 2 +- nest/rt-attr.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nest') 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); -- cgit v1.2.3