Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Oct 30, 2023
1 parent 49793ac commit f687a78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tests/unit/condition/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/tests/unit/xlat/cond_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f687a78

Please sign in to comment.