summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/nclient4/lease_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/nclient4/lease_test.go')
-rw-r--r--dhcpv4/nclient4/lease_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/dhcpv4/nclient4/lease_test.go b/dhcpv4/nclient4/lease_test.go
index ef58d97..b0ff501 100644
--- a/dhcpv4/nclient4/lease_test.go
+++ b/dhcpv4/nclient4/lease_test.go
@@ -40,15 +40,6 @@ type testServerLease struct {
ShouldFail bool //expected result
}
-func newtestServerLease(cip net.IP, m net.HardwareAddr, idops dhcpv4.Options) *testServerLease {
- r := &testServerLease{}
- r.assignedAddr = cip
- r.key = &testLeaseKey{}
- r.key.mac = m
- r.key.idOptions = idops
- return r
-}
-
type testServerLeaseList struct {
list []*testServerLease
clientIDOptions dhcpv4.OptionCodeList