Create a new process ID group for ndhc.
This commit is contained in:
parent
b761889025
commit
a86363f248
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user