From 4ed7d20a4880a168a447eb0b5d02b3c643ab0cff Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 13 Nov 2018 12:46:36 -0800 Subject: [PATCH] Another stability fix... turns out vfork is problematic here. --- osdep/MacEthernetTapAgent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osdep/MacEthernetTapAgent.c b/osdep/MacEthernetTapAgent.c index 7eaac8711..91eff25cc 100644 --- a/osdep/MacEthernetTapAgent.c +++ b/osdep/MacEthernetTapAgent.c @@ -404,7 +404,7 @@ int main(int argc,char **argv) } args[argNo] = (char *)0; if (argNo > 2) { - pid_t pid = vfork(); + pid_t pid = fork(); if (pid < 0) { return -1; } else if (pid == 0) {