fixup of previous commit -- Remove commented out code

This commit is contained in:
Eugene Bujak 2018-12-21 16:29:13 +03:00
parent c073f9db7b
commit 1270bbad1a
1 changed files with 0 additions and 9 deletions

View File

@ -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 {