diff options
author | Tom Yan <tom.ty89@gmail.com> | 2022-06-17 19:34:19 +0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-06-17 13:53:43 +0200 |
commit | 71799a8f6d1450b63071a21cad6ed434b348d3d5 (patch) | |
tree | 20e5554c36e3b2b48fd89e00d8dcbec093d1067a /src/uapi/freebsd/dev/if_wg/if_wg.h | |
parent | global: dual license core files as MIT for FreeBSD (diff) | |
download | wireguard-tools-71799a8f6d1450b63071a21cad6ed434b348d3d5.tar.xz wireguard-tools-71799a8f6d1450b63071a21cad6ed434b348d3d5.zip |
wg-quick: linux: prevent traffic from momentarily leaking into tunnel
The wireguard route table ip rule should stay as a no-op until the
`suppress_prefixlength 0 table main` rule is in effect. Therefore, add
the wireguard default route to its route table after the latter rule is
added.
Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/uapi/freebsd/dev/if_wg/if_wg.h')
0 files changed, 0 insertions, 0 deletions