summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-06-21 12:28:13 +0000
committerdlg <dlg@openbsd.org>2020-06-21 12:28:13 +0000
commit7058e68675f61b1e37e30ae1334a783fd1e49115 (patch)
treeeabcf0643ef8a6681db8a2f626562ba5cca20f9e
parentadd a manpage for wg(4). (diff)
downloadwireguard-openbsd-7058e68675f61b1e37e30ae1334a783fd1e49115.tar.xz
wireguard-openbsd-7058e68675f61b1e37e30ae1334a783fd1e49115.zip
start wg with the other interfaces that rely on routing being up.
from Matt Dunwoodie and Jason A. Donenfeld ok deraadt@
-rw-r--r--etc/netstart6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/netstart b/etc/netstart
index 891d34e8442..68e251e2c40 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.205 2020/05/22 13:38:44 kn Exp $
+# $OpenBSD: netstart,v 1.206 2020/06/21 12:28:13 dlg Exp $
# Turn off Strict Bourne shell mode.
set +o sh
@@ -299,7 +299,7 @@ vifscreate
# Configure all the non-loopback interfaces which we know about, but
# do not start interfaces which must be delayed. Refer to hostname.if(5)
-ifmstart "" "aggr trunk svlan vlan carp pppoe tun tap gif etherip gre egre mobileip pflow"
+ifmstart "" "aggr trunk svlan vlan carp pppoe tun tap gif etherip gre egre mobileip pflow wg"
# The aggr and trunk interfaces need to come up first in this list.
# The (s)vlan interfaces need to come up after trunk.
@@ -319,7 +319,7 @@ fi
route -qn add -net 127 127.0.0.1 -reject >/dev/null
# Configure interfaces that rely on routing
-ifmstart "tun tap gif etherip gre egre mobileip pflow"
+ifmstart "tun tap gif etherip gre egre mobileip pflow wg"
if [[ $ip6kernel == YES ]]; then
# Ensure IPv6 Duplicate Address Detection (DAD) is completed.