summaryrefslogtreecommitdiffstats
path: root/nest/rt-attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r--nest/rt-attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 75cdf39..8dc2e7e 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -222,7 +222,7 @@ ea_list_copy(ea_list *o)
for(i=0; i<o->count; i++)
{
eattr *a = &n->attrs[i];
- if (!(a->flags & EAF_EMBEDDED))
+ if (!(a->type & EAF_EMBEDDED))
{
unsigned size = sizeof(struct adata) + a->u.ptr->length;
struct adata *d = mb_alloc(rta_pool, size);