wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* [PATCH] wg-quick: Fix alternate routing table syntax on OpenBSD
@ 2019-07-20 12:20 Ankur Kothari
  2019-08-05 18:46 ` Jason A. Donenfeld
  0 siblings, 1 reply; 6+ messages in thread
From: Ankur Kothari @ 2019-07-20 12:20 UTC (permalink / raw)
  To: wireguard

---
 src/tools/wg-quick/openbsd.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.22.0


Sent via Migadu.com, world's easiest email hosting
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-07  8:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-20 12:20 [PATCH] wg-quick: Fix alternate routing table syntax on OpenBSD Ankur Kothari
2019-08-05 18:46 ` Jason A. Donenfeld
2019-08-05 19:13   ` Janne Johansson
2019-08-05 19:38     ` Jason A. Donenfeld
2019-08-05 22:57   ` [PATCH v2] wg-quick: openbsd: fix alternate routing table syntax Ankur Kothari
2019-08-07  8:41     ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).