summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/nclient4/lease.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/nclient4/lease.go')
-rw-r--r--dhcpv4/nclient4/lease.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/nclient4/lease.go b/dhcpv4/nclient4/lease.go
index 1bd77e5..838e39b 100644
--- a/dhcpv4/nclient4/lease.go
+++ b/dhcpv4/nclient4/lease.go
@@ -50,7 +50,7 @@ func (c *Client) Release(lease *Lease) error {
}
//This is to make sure use same client identification options used during
//DORA, so that DHCP server could identify the required lease
- for t, _ := range lease.IDOptions {
+ for t := range lease.IDOptions {
req.UpdateOption(
dhcpv4.OptGeneric(dhcpv4.GenericOptionCode(t),
lease.IDOptions.Get(dhcpv4.GenericOptionCode(t))),