router: close socket upon NETEV_IFINDEX_CHANGE fixed
authorKoen Aerts <aertskoen5@gmail.com>
Mon, 19 Aug 2019 11:18:04 +0000 (13:18 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 19 Aug 2019 19:38:22 +0000 (21:38 +0200)
commit09aa022ea1990dbb3f3f0d09331ef0cd1b8a8e1a
treed2d3954391d36a3873429909a6e3879d986caf81
parent79eb1608191a1ce601f32b929826bae72f501a5e
router: close socket upon NETEV_IFINDEX_CHANGE fixed

Make sure the raw socket is removed from the uloop file descriptor
list before the socket is closed as introduced in
https://github.com/openwrt/odhcpd/commit/000182fe4f94a5a6ec139456a2b74f0cdea13b9c

Related to  https://github.com/openwrt/odhcpd/issues/135

Signed-off-by: Koen Aerts <aertskoen5@gmail.com>
src/router.c