Add generic netlink infrastructure

This commit is contained in:
Samuel Thibault 2023-04-18 01:07:25 +02:00
parent 60329986b2
commit 5db476bb6e
3 changed files with 86 additions and 4 deletions

1
util.c
View file

@ -121,6 +121,7 @@ pid_t fork_and_close()
#endif /* BGP */
if (rtnlfd != -1) close(rtnlfd);
if (genlfd != -1) close(genlfd);
if (pppoediscfd != -1) close(pppoediscfd);
if (pppoesessfd != -1) close(pppoesessfd);