- Fixes in contrib and docs
- Fixed getExternalAddressFor
This commit is contained in:
parent
f1177464ad
commit
6bd64d55bd
5 changed files with 15 additions and 18 deletions
|
|
@ -228,7 +228,7 @@ class RemoteActorRefProvider(
|
|||
def getExternalAddressFor(addr: Address): Option[Address] = {
|
||||
addr match {
|
||||
case _ if hasAddress(addr) ⇒ Some(local.rootPath.address)
|
||||
case Address("akka", _, Some(_), Some(_)) ⇒ Some(transport.localAddressForRemote(addr))
|
||||
case Address("akka", _, Some(_), Some(_)) ⇒ Some(transport.defaultAddress)
|
||||
case _ ⇒ None
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue