From: Alan T. DeKok Date: Thu, 31 Aug 2023 15:27:14 +0000 (-0400) Subject: one more Packet-Authentication-Vector X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c070a4330a3fbf047ca3b596525080b5c2f06f80;p=thirdparty%2Ffreeradius-server.git one more Packet-Authentication-Vector --- diff --git a/src/tests/xlat/expr.txt b/src/tests/xlat/expr.txt index f27d3c498cb..9bfae24eacc 100644 --- a/src/tests/xlat/expr.txt +++ b/src/tests/xlat/expr.txt @@ -1,5 +1,5 @@ -# this is "foo" + PRINTABLE version of &Packet-Authentication-Vector -xlat_expr "foo%{Packet-Authentication-Vector}" +# this is "foo" + PRINTABLE version of the packet authentication vector +xlat_expr "foo%{radius.packet.vector:}" match foo\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000 xlat_expr 1 && 2 @@ -106,11 +106,11 @@ match 0x666f6f7f000001 # This just casts the octets to 'string', without # any escaping. # -xlat_expr "foo" + (string)&Packet-Authentication-Vector +xlat_expr "foo" + (string)%{radius.packet.vector:} match foo\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000 # string + octets gets promoted to octets -xlat_expr "foo" + &Packet-Authentication-Vector +xlat_expr "foo" + 0x00000000000000000000000000000000 match 0x666f6f00000000000000000000000000000000 # no escaping!