summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-01 01:21:19 +0200
committerMartin Mares <mj@ucw.cz>2000-04-01 01:21:19 +0200
commit08732b71784b640aebbea88d4452f4c5987d0a09 (patch)
tree947686d068f2fc1c721e6d395da83c4fb550fb89
parent65e55e9cca38828980123ea64fe203d799a20810 (diff)
downloadbird-08732b71784b640aebbea88d4452f4c5987d0a09.tar
bird-08732b71784b640aebbea88d4452f4c5987d0a09.zip
Fixed bug in processing of dynamic attributes.
-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);