From 1270bbad1ab2454a6ad4b1c060ff0444fb43be2c Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Fri, 21 Dec 2018 16:29:13 +0300 Subject: [PATCH] fixup of previous commit -- Remove commented out code --- dhcp.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dhcp.go b/dhcp.go index 38284606..eb30ab75 100644 --- a/dhcp.go +++ b/dhcp.go @@ -77,15 +77,6 @@ func handleDHCPInterfaces(w http.ResponseWriter, r *http.Request) { return } for _, addr := range addrs { - // ip, ok := addr.(*net.IPNet) - // if !ok { - // // not an IP address - // continue - // } - // responseAddr := address{ - // IP: ip.IP.String(), - // Netmask: ip.Mask.String(), - // } iface.Addresses = append(iface.Addresses, addr.String()) } if len(iface.Addresses) == 0 {