]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
one more Packet-Authentication-Vector
authorAlan T. DeKok <aland@freeradius.org>
Thu, 31 Aug 2023 15:27:14 +0000 (11:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 31 Aug 2023 15:27:14 +0000 (11:27 -0400)
src/tests/xlat/expr.txt

index f27d3c498cbe77c5501dd96663983d7dd8e509e7..9bfae24eaccb9c8dc649f25205409250a596c6ad 100644 (file)
@@ -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!