Merge pull request #1537 from ethcore/public-address
Fixed public address config
This commit is contained in:
commit
d1e6e3d642
@ -254,7 +254,7 @@ impl Configuration {
|
|||||||
let host = IpAddr::from_str(host).unwrap_or_else(|_| die!("Invalid host given with `--nat extip:{}`", host));
|
let host = IpAddr::from_str(host).unwrap_or_else(|_| die!("Invalid host given with `--nat extip:{}`", host));
|
||||||
Some(SocketAddr::new(host, port))
|
Some(SocketAddr::new(host, port))
|
||||||
} else {
|
} else {
|
||||||
listen_address
|
None
|
||||||
};
|
};
|
||||||
(listen_address, public_address)
|
(listen_address, public_address)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user