diff options
Diffstat (limited to 'dhcpv4/option_bootfile_name.go')
-rw-r--r-- | dhcpv4/option_bootfile_name.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dhcpv4/option_bootfile_name.go b/dhcpv4/option_bootfile_name.go index b0b8464..9e55bc3 100644 --- a/dhcpv4/option_bootfile_name.go +++ b/dhcpv4/option_bootfile_name.go @@ -22,14 +22,8 @@ func (op *OptBootfileName) ToBytes() []byte { return []byte(op.BootfileName) } -// Length returns the option length in bytes -func (op *OptBootfileName) Length() int { - return len(op.BootfileName) -} - func (op *OptBootfileName) String() string { return fmt.Sprintf("Bootfile Name -> %s", op.BootfileName) - } // ParseOptBootfileName returns a new OptBootfile from a byte stream or error if any |