Skip to content

Commit

Permalink
Merge pull request #572 from openziti/ip.batch.force
Browse files Browse the repository at this point in the history
process all pending route changes, even when errors occur
  • Loading branch information
scareything committed Dec 21, 2022
2 parents 56f96d1 + 6e50fbf commit fb94f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/ziti-edge-tunnel/netif_driver/linux/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static void process_routes_updates(uv_work_t *wr) {
it = model_map_it_next(it);
}

run_command("ip -batch %s", uv_fs_get_path(&tmp_req));
run_command("ip -force -batch %s", uv_fs_get_path(&tmp_req));

uv_fs_t unlink_req = {0};
uv_fs_unlink(wr->loop, &unlink_req, uv_fs_get_path(&tmp_req), NULL);
Expand Down

0 comments on commit fb94f82

Please sign in to comment.