fix misconfiguration
This commit is contained in:
parent
7f6897f0d6
commit
5e4491105a
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ pub async fn daemon_main() -> Result<()> {
|
||||||
let mut inst = DaemonInstance::new(commands_rx, response_tx);
|
let mut inst = DaemonInstance::new(commands_rx, response_tx);
|
||||||
|
|
||||||
let mut _tun = tun::TunInterface::new()?;
|
let mut _tun = tun::TunInterface::new()?;
|
||||||
_tun.set_ipv4_addr(Ipv4Addr::from([192, 168, 1, 10]))?;
|
_tun.set_ipv4_addr(Ipv4Addr::from([10,13,13,2]))?;
|
||||||
_tun.set_nonblocking(true)?;
|
_tun.set_nonblocking(true)?;
|
||||||
let tun = tun::tokio::TunInterface::new(_tun)?;
|
let tun = tun::tokio::TunInterface::new(_tun)?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue