mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 07:12:27 +00:00
lib/upnp: Wrong order of internal/external port after OnlyPermanentLeasesSupported (fixes #3924)
This commit is contained in:
parent
6d4fa27ea7
commit
de49ea594a
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user