Iestyn Elfick
Results
2
comments of
Iestyn Elfick
How about logic along these lines? ``` func parseV1IPAddress(v6 bool, addr string) (ip net.IP, err error) { ip := net.ParseIP(addr) tryV4 := ip.To4() hasDot := (strings.Index(addr, ".") != -1) hasColon...
On similar note, `HeaderProxyFromAddrs` will silently assume TCP4 if given a IP4to6 address as source. Not convinced that's proper behaviour. Can't see how to change that though without also changing...