router: create ICMPv6 socket per interface
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 3 Apr 2019 14:29:19 +0000 (16:29 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 5 Apr 2019 08:30:18 +0000 (10:30 +0200)
commitc6dae8e6b2a82dca6e2e00e17b0bc968a504d7fc
tree3b67c5921b66dc5ad82e7d9460aba23631065e00
parente7b1d4bf3a2297192638b9c84208b3dcb306ecd8
router: create ICMPv6 socket per interface

Get rid of the global raw ICMPv6 socket by creating a raw ICMPv6 socket per
interface. This fixes an open raw ICMPv6 socket in case all ra interfaces
are configured as disabled.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/config.c
src/odhcpd.h
src/router.c