mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
lib/upnp: Fix outdated comment (#6110)
This commit is contained in:
parent
cf420e135e
commit
31569debeb
@ -133,7 +133,7 @@ nextResult:
|
|||||||
return results
|
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
|
// 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) {
|
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}
|
ssdp := &net.UDPAddr{IP: []byte{239, 255, 255, 250}, Port: 1900}
|
||||||
|
Loading…
Reference in New Issue
Block a user