lib/upnp: Fix outdated comment (#6110)

This commit is contained in:
Aman Gupta 2019-11-05 10:56:51 -08:00 committed by Audrius Butkevicius
parent cf420e135e
commit 31569debeb

View File

@ -133,7 +133,7 @@ nextResult:
return results
}
// Search for UPnP InternetGatewayDevices for <timeout> seconds, ignoring responses from any devices listed in knownDevices.
// Search for UPnP InternetGatewayDevices for <timeout> seconds.
// The order in which the devices appear in the result list is not deterministic
func discover(intf *net.Interface, deviceType string, timeout time.Duration, results chan<- nat.Device) {
ssdp := &net.UDPAddr{IP: []byte{239, 255, 255, 250}, Port: 1900}