Fixed public address config

This commit is contained in:
arkpar 2016-07-04 18:21:22 +02:00
parent bb36a594c5
commit 24f09de60e

View File

@ -254,7 +254,7 @@ impl Configuration {
let host = IpAddr::from_str(host).unwrap_or_else(|_| die!("Invalid host given with `--nat extip:{}`", host));
Some(SocketAddr::new(host, port))
} else {
listen_address
None
};
(listen_address, public_address)
}