net/interfaces: remove old debug old

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
reviewable/pr684/r1
Josh Bleecher Snyder 4 years ago
parent e577303dc7
commit a9b1e3f9e8

@ -105,8 +105,6 @@ import "C"
import ( import (
"encoding/binary" "encoding/binary"
"fmt"
"os"
"inet.af/netaddr" "inet.af/netaddr"
) )
@ -117,7 +115,6 @@ func init() {
func likelyHomeRouterIPDarwinSyscall() (ret netaddr.IP, ok bool) { func likelyHomeRouterIPDarwinSyscall() (ret netaddr.IP, ok bool) {
ip := C.privateGatewayIP() ip := C.privateGatewayIP()
fmt.Fprintln(os.Stderr, "likelyHomeRouterIPDarwinSyscall", ip)
if ip < 255 { if ip < 255 {
return netaddr.IP{}, false return netaddr.IP{}, false
} }

Loading…
Cancel
Save