0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 12:48:43 +00:00

EAF_ORIGINATED done right.

This commit is contained in:
Pavel Machek 2000-04-17 11:52:32 +00:00
parent 700bbe60fb
commit 913ce95b08

View File

@ -377,8 +377,8 @@ interpret(struct f_inst *what)
l->flags = EALF_SORTED;
l->count = 1;
l->attrs[0].id = what->a2.i;
l->attrs[0].flags = EAF_ORIGINATED;
l->attrs[0].type = what->aux;
l->attrs[0].flags = 0;
l->attrs[0].type = what->aux | EAF_ORIGINATED;
switch (what->aux & EAF_TYPE_MASK) {
case EAF_TYPE_INT:
if (v1.type != T_INT)