]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
EAF_ORIGINATED done right.
authorPavel Machek <pavel@ucw.cz>
Mon, 17 Apr 2000 11:52:32 +0000 (11:52 +0000)
committerPavel Machek <pavel@ucw.cz>
Mon, 17 Apr 2000 11:52:32 +0000 (11:52 +0000)
filter/filter.c

index 6dc2ffd78771236755ffe0dc1384d107e569321d..6be055fc1d7b70e410197c847deee124d139f6e2 100644 (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)