diff options
Diffstat (limited to 'dhcpv6')
-rw-r--r-- | dhcpv6/options.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpv6/options.go b/dhcpv6/options.go index fcfed37..ad52998 100644 --- a/dhcpv6/options.go +++ b/dhcpv6/options.go @@ -5,8 +5,10 @@ import ( "fmt" ) +// OptionCode is a single byte representing the code for a given Option. type OptionCode uint16 +// Option is an interface that all DHCPv6 options adhere to. type Option interface { Code() OptionCode ToBytes() []byte |