aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_bsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_bsd.h')
-rw-r--r--executor/common_bsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h
index b26dabaa3..a7fc5c8f5 100644
--- a/executor/common_bsd.h
+++ b/executor/common_bsd.h
@@ -261,7 +261,7 @@ static long syz_extract_tcp_res(long a0, long a1, long a2)
static void loop();
static int do_sandbox_none(void)
{
-#if SYZ_TUN_ENABLE
+#if GOOS_openbsd && (SYZ_EXECUTOR || SYZ_TUN_ENABLE)
initialize_tun(procid);
#endif
loop();