]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
The 'Response-Packet-Type' was replaced by 'Packet-Type'
authorJorge Pereira <jpereiran@gmail.com>
Thu, 12 Dec 2019 21:02:42 +0000 (18:02 -0300)
committerAlan DeKok <aland@freeradius.org>
Thu, 12 Dec 2019 22:46:03 +0000 (17:46 -0500)
Part of a9e875e74af4b0407fd57cf350fe8203249e74ed

src/tests/unit/condition/base.txt

index 68d5afe800880dd283daf90ab79a3cb5827cf822..16b9a849cd43b13481b631389f9c4e727e9db790 100644 (file)
@@ -99,16 +99,16 @@ match !&User-Name == &User-Password || &Filter-Id == &Reply-Message
 condition ((a == b) || (c == d)))
 match ERROR offset 22 Unexpected closing brace
 
-condition (handled && (&Response-Packet-Type == Access-Challenge))
-match handled && &Response-Packet-Type == Access-Challenge
+condition (handled && (&Packet-Type == Access-Challenge))
+match handled && &Packet-Type == Access-Challenge
 
 # This is OK, without the braces
-condition handled && &Response-Packet-Type == Access-Challenge
-match handled && &Response-Packet-Type == Access-Challenge
+condition handled && &Packet-Type == Access-Challenge
+match handled && &Packet-Type == Access-Challenge
 
 # and this, though it's not a good idea.
-condition handled &&&Response-Packet-Type == Access-Challenge
-match handled && &Response-Packet-Type == Access-Challenge
+condition handled &&&Packet-Type == Access-Challenge
+match handled && &Packet-Type == Access-Challenge
 
 condition &reply: == &request:
 match ERROR offset 0 Cannot use list references in condition