diff options
author | Ankur Kothari <ankur@lipidity.com> | 2019-08-06 08:57:28 +1000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-07 10:41:26 +0200 |
commit | 15d289b760538f5885128a34a58160677bd7ebd6 (patch) | |
tree | 6bb103927ecb8b1afa28d09613d911806d19dd00 | |
parent | Kbuild: account for upstream configuration maze changes (diff) | |
download | wireguard-monolithic-historical-15d289b760538f5885128a34a58160677bd7ebd6.tar.xz wireguard-monolithic-historical-15d289b760538f5885128a34a58160677bd7ebd6.zip |
wg-quick: openbsd: fix alternate routing table syntax
route(8) has always used the `-T` option to specify the
routing table; there is no `rdomain` option.
Signed-off-by: Ankur Kothari <ankur@lipidity.com>
Diffstat (limited to '')
-rwxr-xr-x | src/tools/wg-quick/openbsd.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wg-quick/openbsd.bash b/src/tools/wg-quick/openbsd.bash index b234609..2cadeec 100755 --- a/src/tools/wg-quick/openbsd.bash +++ b/src/tools/wg-quick/openbsd.bash @@ -293,7 +293,7 @@ add_route() { fi if [[ -n $TABLE && $TABLE != auto ]]; then - cmd route -q -n add "-$family" -rdomain "$TABLE" "$1" -iface "$ifaceroute" + cmd route -q -n -T "$TABLE" add "-$family" "$1" -iface "$ifaceroute" elif [[ $1 == */0 ]]; then if [[ $1 == *:* ]]; then AUTO_ROUTE6=1 |