Skip to content

Commit

Permalink
try delay to allow systemd-networkd to settle before configuring dns
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything committed Apr 26, 2024
1 parent 078b339 commit 4041afd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions programs/ziti-edge-tunnel/netif_driver/linux/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ static void find_dns_updater() {
static void set_dns(uv_work_t *wr) {
uv_once(&dns_updater_init, find_dns_updater);
ZITI_LOG(INFO, "SMC calling dns updater");
uv_sleep(500);
dns_updater(
dns_maintainer.tun_name,
if_nametoindex(dns_maintainer.tun_name),
Expand Down

0 comments on commit 4041afd

Please sign in to comment.