diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 75cdf39b..8dc2e7eb 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -222,7 +222,7 @@ ea_list_copy(ea_list *o) for(i=0; icount; 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);