plgd-dev / go-coap

Implementation of CoAP Server & Client in Go
https://coap.technology
Apache License 2.0
446 stars 116 forks source link

udp/server_test.go fails if first non-loopback interface is not running #491

Closed HRogge closed 11 months ago

HRogge commented 11 months ago

udp/server_test.go TestServerDiscover() should only consider UP and RUNNING interfaces. #490 fixes this issue.

HRogge commented 11 months ago

Bad news, net.FlagRunning was only introduced in Go 1.20...

https://github.com/golang/go/issues/53482

HRogge commented 11 months ago

Fixed by #494