From f687a780b002f407e24a74427781f916a861307f Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Mon, 30 Oct 2023 14:44:04 -0400 Subject: [PATCH] remove unused function --- src/tests/unit/condition/base.txt | 4 ++-- src/tests/unit/xlat/cond_base.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/unit/condition/base.txt b/src/tests/unit/condition/base.txt index 87795d25ac36..5fc4f8aabcf0 100644 --- a/src/tests/unit/condition/base.txt +++ b/src/tests/unit/condition/base.txt @@ -455,8 +455,8 @@ condition (ipaddr)&PMIP6-Home-IPv4-HoA == &Framed-IP-Address match ((ipaddr)&PMIP6-Home-IPv4-HoA == &Framed-IP-Address) # but these are allowed -condition (ether)&Tmp-uint64-0 == "%{module: foo}" -match ((ether)&Tmp-uint64-0 == %(cast:string "%{module: foo}")) +condition (ether)&Tmp-uint64-0 == "%interpreter('foo')" +match ((ether)&Tmp-uint64-0 == %(cast:string "%(interpreter:'foo')")) condition (ipaddr)&Filter-Id == &Framed-IP-Address match ((ipaddr)&Filter-Id == &Framed-IP-Address) diff --git a/src/tests/unit/xlat/cond_base.txt b/src/tests/unit/xlat/cond_base.txt index cd878fdb6659..49b0f81f16c8 100644 --- a/src/tests/unit/xlat/cond_base.txt +++ b/src/tests/unit/xlat/cond_base.txt @@ -462,8 +462,8 @@ xlat_purify (ipaddr)&PMIP6-Home-IPv4-HoA == &Framed-IP-Address match ((ipaddr)&PMIP6-Home-IPv4-HoA == &Framed-IP-Address) # but these are allowed -xlat_purify (ether)&Tmp-uint64-0 == "%{module: foo}" -match ((ether)&Tmp-uint64-0 == %(cast:string "%{module: foo}")) +xlat_purify (ether)&Tmp-uint64-0 == "%interpreter('foo')" +match ((ether)&Tmp-uint64-0 == %(cast:string "%(interpreter:'foo')")) xlat_purify (ipaddr)&Filter-Id == &Framed-IP-Address match ((ipaddr)&Filter-Id == &Framed-IP-Address)