|
|
@ -160,7 +160,7 @@ func getUPNPExternalAddress(externalPort, internalPort int) *NetAddress { |
|
|
|
log.Debug("Getting UPNP external address") |
|
|
|
nat, err := upnp.Discover() |
|
|
|
if err != nil { |
|
|
|
log.Debug("Could not get UPNP extrernal address", "error", err) |
|
|
|
log.Debug("Could not perform UPNP discover", "error", err) |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
@ -177,7 +177,7 @@ func getUPNPExternalAddress(externalPort, internalPort int) *NetAddress { |
|
|
|
|
|
|
|
externalPort, err = nat.AddPortMapping("tcp", externalPort, internalPort, "tendermint", 0) |
|
|
|
if err != nil { |
|
|
|
log.Debug("Could not get UPNP external address", "error", err) |
|
|
|
log.Debug("Could not add UPNP port mapping", "error", err) |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|