aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rwxr-xr-xsrc/tools/wg-quick/openbsd.bash2
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