summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-17 13:52:32 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-17 13:52:32 +0200
commit913ce95b083b2d61e498c63fce3e8f2d5b974cfb (patch)
tree16cc69adcccae9f9a27d1f28ce611b1bf652b1c9
parent700bbe60fb941534937ad11ca71968224889fa87 (diff)
downloadbird-913ce95b083b2d61e498c63fce3e8f2d5b974cfb.tar
bird-913ce95b083b2d61e498c63fce3e8f2d5b974cfb.zip
EAF_ORIGINATED done right.
-rw-r--r--filter/filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 6dc2ffd..6be055f 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -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)