Skip to content

Commit

Permalink
call set_diverter with dns subnet vs dns ip
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything committed Dec 16, 2024
1 parent 477d552 commit fea9b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/ziti-edge-tunnel/ziti-edge-tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ static int run_tunnel(uv_loop_t *ziti_loop, uint32_t tun_ip, uint32_t dns_ip, co
count++;
}
if(count){
set_diverter(dns_subnet_in->s_addr, dns_subnet_zaddr.addr.cidr.bits, tun->handle->name);
set_diverter(dns_ip4_addr.u_addr.ip4.addr, dns_subnet_zaddr.addr.cidr.bits, tun->handle->name);
}else{
ZITI_LOG(ERROR,"No valid diverter interfaces found");
exit(1);
Expand Down

0 comments on commit fea9b96

Please sign in to comment.