diff options
Diffstat (limited to 'dhcpv4/option_ntp_servers.go')
-rw-r--r-- | dhcpv4/option_ntp_servers.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dhcpv4/option_ntp_servers.go b/dhcpv4/option_ntp_servers.go index 5415c63..1c74e13 100644 --- a/dhcpv4/option_ntp_servers.go +++ b/dhcpv4/option_ntp_servers.go @@ -36,9 +36,3 @@ func (o *OptNTPServers) ToBytes() []byte { func (o *OptNTPServers) String() string { return fmt.Sprintf("NTP Servers -> %v", IPsToString(o.NTPServers)) } - -// Length returns the length of the data portion (excluding option code an byte -// length). -func (o *OptNTPServers) Length() int { - return len(o.NTPServers) * 4 -} |