summaryrefslogtreecommitdiff
path: root/filter/f-inst.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-05-30 16:41:15 +0200
committerMaria Matejka <mq@ucw.cz>2022-05-30 16:41:15 +0200
commite16e1e4138cf10fd8f2508fa0e41e5ec98de6d53 (patch)
tree9c09bc2b7ebe25e072d47ec58d5841b25e4960b7 /filter/f-inst.c
parent0097f24e2e8b3feb56d4ae5c5b56a8defd9f7d2e (diff)
parentf2f3163f6c3fba7f9ef03640d7b2f6323873d2cc (diff)
Merge commit 'f2f3163f6c3fba7f9ef03640d7b2f6323873d2cc' into haugesund
Diffstat (limited to 'filter/f-inst.c')
-rw-r--r--filter/f-inst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/f-inst.c b/filter/f-inst.c
index c8e597e9..eb0141b6 100644
--- a/filter/f-inst.c
+++ b/filter/f-inst.c
@@ -696,7 +696,7 @@
DYNAMIC_ATTR;
ARG_TYPE(1, da.type);
{
- struct ea_list *l = lp_alloc(fs->pool, sizeof(struct ea_list) + sizeof(eattr));
+ struct ea_list *l = tmp_alloc(sizeof(struct ea_list) + sizeof(eattr));
l->next = NULL;
l->flags = EALF_SORTED;
@@ -718,7 +718,7 @@
break;
case T_IP:
- l->attrs[0].u.ptr = lp_store_adata(fs->pool, &v1.val.ip, sizeof(ip_addr));
+ l->attrs[0].u.ptr = tmp_store_adata(&v1.val.ip, sizeof(ip_addr));
break;
default:
@@ -739,7 +739,7 @@
ACCESS_EATTRS;
f_rta_cow(fs);
- ea_unset_attr(fs->eattrs, fs->pool, 1, da.ea_code);
+ ea_unset_attr(fs->eattrs, tmp_linpool, 1, da.ea_code);
}
INST(FI_LENGTH, 1, 1) { /* Get length of */