Create a new process ID group for ndhc.

This commit is contained in:
Nicholas J. Kain 2014-04-06 22:07:12 -04:00
parent b761889025
commit a86363f248

View File

@ -641,6 +641,9 @@ int main(int argc, char *argv[])
default: suicide("failed to set the interface to up state");
}
if (setpgid(0, 0) < 0)
suicide("setpgid failed: %s", strerror(errno));
spawn_ifch();
spawn_sockd();
ndhc_main();