From: Alan T. DeKok Date: Tue, 12 Sep 2023 21:11:40 +0000 (-0400) Subject: explicitly encode all of the suboptions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=546a0970247374cbf1c5b1d331cf6fb31d17affe;p=thirdparty%2Ffreeradius-server.git explicitly encode all of the suboptions We may want to revisit the behavior of &foo.[*]. Does it mean only that level, or all children? --- diff --git a/src/tests/keywords/xlat-dhcpv4 b/src/tests/keywords/xlat-dhcpv4 index 3ec811659a4..d261d00cc7c 100644 --- a/src/tests/keywords/xlat-dhcpv4 +++ b/src/tests/keywords/xlat-dhcpv4 @@ -17,7 +17,10 @@ if !(&Relay-Agent-Information.Remote-Id == 0x010203040506) { test_fail } -&Tmp-Octets-1 := %(dhcpv4.encode:&request.[*]) +# +# Encode all of the Relay-Agent-Information suboptions +# +&Tmp-Octets-1 := %(dhcpv4.encode:&request.Relay-Agent-Information.[*]) if !(&Tmp-Octets-1 == 0x520d0103abcdef0206010203040506) { test_fail