Browse Source

lib/upnp: Fix outdated comment (#6110)

Aman Gupta 6 years ago
parent
commit
31569debeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/upnp/upnp.go

+ 1 - 1
lib/upnp/upnp.go

@@ -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}