treewide: initialize properly file descriptors
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 4 Apr 2019 10:01:46 +0000 (12:01 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 4 Apr 2019 13:36:15 +0000 (15:36 +0200)
commite7b1d4bf3a2297192638b9c84208b3dcb306ecd8
treea371584b78e0a0c1dd8b6e4339393aa9b2a20652
parent7798d502f4c2e89a2493c0ea7a800a9359ee0bbc
treewide: initialize properly file descriptors

Initialzie properly the dhcpv6, dhcpv4 and ndp ffile descriptors
when creating an interface.
As such the check for a valid descriptor can be done correct now
in the different modules

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/config.c
src/dhcpv4.c
src/dhcpv6.c
src/ndp.c