mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 17:38:32 -04:00
Rename host_addr to endpoint_bind_addr
This commit is contained in:
parent
3ab108ad04
commit
c647bc9a96
2 changed files with 7 additions and 7 deletions
|
@ -36,7 +36,7 @@ impl WireGuardTunnel {
|
|||
let source_peer_ip = config.source_peer_ip;
|
||||
let peer = Self::create_tunnel(config)?;
|
||||
let endpoint = config.endpoint_addr;
|
||||
let udp = UdpSocket::bind(config.host_addr)
|
||||
let udp = UdpSocket::bind(config.endpoint_bind_addr)
|
||||
.await
|
||||
.with_context(|| "Failed to create UDP socket for WireGuard connection")?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue