Archived
lib/upnp: Wrong order of internal/external port after OnlyPermanentLeasesSupported (fixes #3924)
This commit is contained in:
1 parent
6d4fa27ea7
commit
de49ea594a
1 file changed
+1
-1
@@ -70,7 +70,7 @@ func (s *IGDService) AddPortMapping(localIPAddress net.IP, protocol nat.Protocol
|
||||
return unmarshalErr
|
||||
}
|
||||
if envelope.ErrorCode == 725 {
|
||||
return s.AddPortMapping(localIPAddress, protocol, externalPort, internalPort, description, 0)
|
||||
return s.AddPortMapping(localIPAddress, protocol, internalPort, externalPort, description, 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user