Commit b8c7bdc6 authored by Alessandro Rubini's avatar Alessandro Rubini

radiusvlan: bugfix: prevent kill(-1)

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 74af8ff8
......@@ -273,7 +273,7 @@ int rvlan_fsm(struct rvlan_dev *dev, fd_set *rdset)
dev->poll_fd = -1;
kill(dev->pid, SIGTERM);
waitpid(dev->pid, &i, 0);
dev->pid = -1;
dev->pid = 0;
/* save a copy for diagnostics */
if (1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment