From: James Jones Date: Mon, 21 Mar 2022 21:08:03 +0000 (-0500) Subject: Make Client-NDI (code 94) a struct, add test, move to appropriate dictionary. (#4434) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ed7ded5dfb0e8f0fec3594242f62eaed2db6bbd;p=thirdparty%2Ffreeradius-server.git Make Client-NDI (code 94) a struct, add test, move to appropriate dictionary. (#4434) --- diff --git a/src/tests/unit/protocols/dhcpv4/rfc4578.txt b/src/tests/unit/protocols/dhcpv4/rfc4578.txt new file mode 100644 index 00000000000..e332b6453b2 --- /dev/null +++ b/src/tests/unit/protocols/dhcpv4/rfc4578.txt @@ -0,0 +1,15 @@ +# +# Test vectors for DHCP attributes +# +proto dhcpv4 +proto-dictionary dhcpv4 +fuzzer-out dhcpv4 + +encode-pair Client-NDI = { Type = 1, Major = 2, Minor = 1 } +match 5e 03 01 02 01 + +decode-pair - +match Client-NDI = { Type = 1, Major = 2, Minor = 1 } + +count +match 7