summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/config.Y2
-rw-r--r--filter/filter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/config.Y b/filter/config.Y
index e99d5b7..0859ead 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -419,7 +419,7 @@ cmd:
}
| UNSET '(' rtadot dynamic_attr ')' ';' {
$$ = $4;
- $$->aux = EAF_TYPE_UNDEF | EAF_INLINE;
+ $$->aux = EAF_TYPE_UNDEF | EAF_TEMP;
$$->code = P('e','S');
$$->a1.p = NULL;
}
diff --git a/filter/filter.c b/filter/filter.c
index 7e52664..f0e9cd8 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -361,7 +361,7 @@ interpret(struct f_inst *what)
break;
}
- if (what->aux & EAF_INLINE) {
+ if (!(what->aux & EAF_TEMP)) {
*f_rte = rte_do_cow(*f_rte);
l->next = (*f_rte)->attrs->eattrs;
(*f_rte)->attrs->eattrs = l;