mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +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++)
|
for(i=0; i<o->count; i++)
|
||||||
{
|
{
|
||||||
eattr *a = &n->attrs[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;
|
unsigned size = sizeof(struct adata) + a->u.ptr->length;
|
||||||
struct adata *d = mb_alloc(rta_pool, size);
|
struct adata *d = mb_alloc(rta_pool, size);
|
||||||
|
Loading…
Reference in New Issue
Block a user