]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix test.
authorAlan T. DeKok <aland@freeradius.org>
Mon, 18 Apr 2022 21:24:25 +0000 (17:24 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 20 Apr 2022 13:16:47 +0000 (09:16 -0400)
When we encode something, the decoded version should NOT be "raw"
unless something has gone seriously wrong.

src/tests/unit/protocols/dhcpv4/rfc3495.txt

index 044f3da3651235e16babb19403f1e90132d6209b..f2e140eb7841d607e2ebabd9915295912ab0c81c 100644 (file)
@@ -9,7 +9,7 @@ encode-pair CCC = { Ticket-Granting-Server-Utilization = yes, Provisioning-Serve
 match 7a 1a 07 01 01 03 15 00 0d 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00 01 04 c0 a8 00 01
 
 decode-pair -
-match CCC.Ticket-Granting-Server-Utilization = yes, raw.CCC.Provisioning-Server = 0x000d076578616d706c6503636f6d000104c0a80001
+match CCC.Ticket-Granting-Server-Utilization = yes, CCC.Provisioning-Server.FQDN = "example.com", CCC.Provisioning-Server.Address = 192.168.0.1
 
 count
 match 7