0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Fixed bug in processing of dynamic attributes.

This commit is contained in:
Martin Mares 2000-03-31 23:21:19 +00:00
parent 65e55e9cca
commit 08732b7178

View File

@ -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);