mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 06:38:32 -04:00
Correct binding terminoligy IP version detection
This commit is contained in:
parent
96e18edd19
commit
1680b17c47
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue