Correct binding terminoligy IP version detection

This commit is contained in:
Jackson Coxson 2022-06-23 23:10:48 -06:00
parent 96e18edd19
commit 1680b17c47

View file

@ -242,7 +242,7 @@ impl Config {
|| (addr.ip().is_ipv4() != endpoint_addr.ip().is_ipv4()) || (addr.ip().is_ipv4() != endpoint_addr.ip().is_ipv4())
{ {
return Err(anyhow::anyhow!( return Err(anyhow::anyhow!(
"Host address and endpoint address must be the same IP version" "Endpoint and bind addresses must be the same IP version"
)); ));
} }
addr addr