summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_server_identifier.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_server_identifier.go')
-rw-r--r--dhcpv4/option_server_identifier.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/dhcpv4/option_server_identifier.go b/dhcpv4/option_server_identifier.go
index 64185aa..cc5e1a5 100644
--- a/dhcpv4/option_server_identifier.go
+++ b/dhcpv4/option_server_identifier.go
@@ -36,9 +36,3 @@ func (o *OptServerIdentifier) ToBytes() []byte {
func (o *OptServerIdentifier) String() string {
return fmt.Sprintf("Server Identifier -> %v", o.ServerID.String())
}
-
-// Length returns the length of the data portion (excluding option code an byte
-// length).
-func (o *OptServerIdentifier) Length() int {
- return len(o.ServerID.To4())
-}