diff options
author | Andrea Barberio <insomniac@slackware.it> | 2018-07-13 16:19:58 +0100 |
---|---|---|
committer | Andrea Barberio <insomniac@slackware.it> | 2018-07-13 16:19:58 +0100 |
commit | fdc5bef9740d6dc1be9ecaffd42c64108a11aa33 (patch) | |
tree | 93c7c8165b9c037b6f7c9d963eaa2b98756f8a3c /dhcpv6 | |
parent | a0c764be8d07b0f3d925ba2565c8f675e56e3fde (diff) |
linter
Diffstat (limited to 'dhcpv6')
-rw-r--r-- | dhcpv6/option_nontemporaryaddress.go | 2 |
1 files changed, 2 insertions, 0 deletions
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) } |