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:
parent
65e55e9cca
commit
08732b7178
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user