odhcpd: make DHCPv6/RA/NDP support optional
authorHans Dedecker <dedeckeh@gmail.com>
Sun, 30 Sep 2018 19:54:33 +0000 (21:54 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 7 Oct 2018 12:48:40 +0000 (14:48 +0200)
commit57f639e3b0288c2ec12cdfb8598a182293746a0a
tree067c8e852e34af060b2cbe5e2b4c6116f63db2c9
parent402c2749f04852f84e90682cf6acca09f304efb0
odhcpd: make DHCPv6/RA/NDP support optional

In case IPv6 is not enabled don't try to init DHCPv6/RA and NDP but only
init DHCPv4. This allows odhcpd to start up in absence of IPv6 support.

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