Add DHCPv6 support with acceleration

This commit is contained in:
Samuel Thibault 2023-05-08 03:12:45 +02:00
parent a9e18411d3
commit 5dcbd68b75
5 changed files with 164 additions and 5 deletions

1
util.c
View file

@ -139,6 +139,7 @@ pid_t fork_and_close()
if (sess_local[i].ppp_if_fd >= 0) close(sess_local[i].ppp_if_fd);
}
if (dhcpv6fd != -1) close(dhcpv6fd);
if (snoopfd != -1) close(snoopfd);
if (rand_fd != -1) close(rand_fd);
if (epollfd != -1) close(epollfd);