#  -*- text -*-
#  Copyright (C) 2019 Network RADIUS SARL (legal@networkradius.com)
#  This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0
#
#  Version $Id: 75b430a69bc8e54d1b688cc58d6aa2c3f4fcb2c5 $
#

proto dhcpv6
proto-dictionary dhcpv6
fuzzer-out dhcpv6

#
#  Simple string type
#
encode-pair Subscriber-ID = "fred"
match 00 26 00 04 66 72 65 64

decode-pair -
match Subscriber-ID = "fred"

encode-pair Subscriber-ID = "bob", New-Posix-Timezone = "GB"
match 00 26 00 03 62 6f 62 00 29 00 02 47 42

decode-pair -
match Subscriber-ID = "bob", New-Posix-Timezone = "GB"

# Zero length string
encode-pair Subscriber-ID = ""
match 00 26 00 00

decode-pair -
match Subscriber-ID = ""

count
match 15
