Document that the listed address is also advertised to peers (#1891)
Documents a potential privacy leak, and a missing feature.
This commit is contained in:
parent
7f9d66a4af
commit
976ec912db
|
@ -13,6 +13,10 @@ const MAX_SINGLE_PEER_RETRIES: usize = 2;
|
||||||
#[serde(deny_unknown_fields, default)]
|
#[serde(deny_unknown_fields, default)]
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
/// The address on which this node should listen for connections.
|
/// The address on which this node should listen for connections.
|
||||||
|
///
|
||||||
|
/// Zebra will also advertise this address to other nodes. Advertising a
|
||||||
|
/// different external IP address is currently not supported, see #1890
|
||||||
|
/// for details.
|
||||||
pub listen_addr: SocketAddr,
|
pub listen_addr: SocketAddr,
|
||||||
|
|
||||||
/// The network to connect to.
|
/// The network to connect to.
|
||||||
|
|
Loading…
Reference in New Issue