ndp: create ICMPv6 socket per interface
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 4 Apr 2019 14:57:47 +0000 (16:57 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 5 Apr 2019 09:52:30 +0000 (11:52 +0200)
commit65a9519fb295d8f5748fc69962be1666985011fe
tree9b1b2bcd1f2746cc4ad0d33eb7626e6a70cab044
parentc6dae8e6b2a82dca6e2e00e17b0bc968a504d7fc
ndp: create ICMPv6 socket per interface

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

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