bugfix
This commit is contained in:
parent
ed3072aa17
commit
0e2a7a3039
@ -60,7 +60,8 @@ class AcrossNat(object):
|
|||||||
protocol = protocol.upper()
|
protocol = protocol.upper()
|
||||||
external_port = from_port
|
external_port = from_port
|
||||||
while external_port < 52333:
|
while external_port < 52333:
|
||||||
if self.upnp_map_port_check(external_port, protocol=protocol):
|
if self.upnp_check_external_port(external_port,
|
||||||
|
protocol=protocol):
|
||||||
external_port += 1
|
external_port += 1
|
||||||
continue
|
continue
|
||||||
self.upnp.AddPortMapping(NewRemoteHost='',
|
self.upnp.AddPortMapping(NewRemoteHost='',
|
||||||
|
Loading…
Reference in New Issue
Block a user