dhcpv4: detect noarp interfaces
authorMikael Magnusson <mikma@users.sourceforge.net>
Tue, 7 Feb 2023 16:53:00 +0000 (16:53 +0000)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 16 Feb 2023 20:28:57 +0000 (21:28 +0100)
commitdfab0fad85c8b705c483343c99907c229413f7b2
tree9591db574930209d4ec72726fb07a096caaef04c
parenta92c0a73d018cd6453dcf253d9617f97311becab
dhcpv4: detect noarp interfaces

Don't add ARP entries to interfaces with IFF_NOARP, it causes
problems with for example WireGuard interfaces (which requires
this change to be usable with DHCPv4-over-DHCPv6).

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
src/config.c
src/dhcpv4.c
src/netlink.c
src/odhcpd.c
src/odhcpd.h