Only do the type assertion to *net.UDPAddr when addr is non-nil. This prevents a bunch of log spam during tests.main
parent
88586ec4a4
commit
1632f9fd6b
Loading…
Reference in new issue