diff options
author | Hu Jun <hujun.work@gmail.com> | 2020-06-17 22:11:45 -0700 |
---|---|---|
committer | Hu Jun <hujun.work@gmail.com> | 2020-06-17 22:17:19 -0700 |
commit | 42e8d6f8badf5831edf0b8a11f03273031e4949e (patch) | |
tree | 34311500076f2e5a0b24cbf35675362eb726cbda /dhcpv4/dhcpv4.go | |
parent | caf50d65b1cb4e946441e1fc0ac178b8fa19b751 (diff) |
fix some lint errors
Signed-off-by: Hu Jun <hujun.work@gmail.com>
Diffstat (limited to 'dhcpv4/dhcpv4.go')
-rw-r--r-- | dhcpv4/dhcpv4.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/dhcpv4.go b/dhcpv4/dhcpv4.go index ba0d243..ff72c9e 100644 --- a/dhcpv4/dhcpv4.go +++ b/dhcpv4/dhcpv4.go @@ -670,7 +670,7 @@ func (d *DHCPv4) IPAddressLeaseTime(def time.Duration) time.Duration { return time.Duration(dur) } -// IPAddressRenewTime returns the IP address renewal time or the given +// IPAddressRenewalTime returns the IP address renewal time or the given // default duration if not present. // // The IP address renewal time option is described by RFC 2132, Section 9.11. @@ -686,7 +686,7 @@ func (d *DHCPv4) IPAddressRenewalTime(def time.Duration) time.Duration { return time.Duration(dur) } -// IPAddressRenewTime returns the IP address rebinding time or the given +// IPAddressRebindingTime returns the IP address rebinding time or the given // default duration if not present. // // The IP address rebinding time option is described by RFC 2132, Section 9.12. |