From fdc5bef9740d6dc1be9ecaffd42c64108a11aa33 Mon Sep 17 00:00:00 2001 From: Andrea Barberio Date: Fri, 13 Jul 2018 16:19:58 +0100 Subject: linter --- dhcpv6/option_nontemporaryaddress.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dhcpv6') diff --git a/dhcpv6/option_nontemporaryaddress.go b/dhcpv6/option_nontemporaryaddress.go index f430e25..5debeec 100644 --- a/dhcpv6/option_nontemporaryaddress.go +++ b/dhcpv6/option_nontemporaryaddress.go @@ -45,6 +45,8 @@ func (op *OptIANA) String() string { op.IaId, op.T1, op.T2, op.Options) } +// GetOneOption will get an option of the give type from the Options field, if +// it is present. It will return `nil` otherwise func (op *OptIANA) GetOneOption(code OptionCode) Option { return getOption(op.Options, code) } -- cgit v1.2.3