odhcpd: don't enable server mode on non-static lan port
authorKarl Palsson <karlp@etactica.com>
Fri, 1 Sep 2017 11:22:11 +0000 (11:22 +0000)
committerHans Dedecker <dedeckeh@gmail.com>
Sat, 16 Sep 2017 07:37:50 +0000 (09:37 +0200)
commitae57675bba5bcb0192a68ef26df912a5d08ceccc
tree0262ba4cb7efa2857e730d66bfca6dcd37eac53a
parent9c500db89680af5d89fb679e08452c8f090d804d
odhcpd: don't enable server mode on non-static lan port

Instead of blindly enabling the odhcpd v6 server and RA server on the
lan port, only do that if the lan port protocol is "static"

This prevents the unhelpful case of a device being a dhcpv4 client and
v6 server on the same ethernet port.

Signed-off-by: Karl Palsson <karlp@etactica.com>
[PKG_SOURCE_DATE increase; odhcpd.defaults script cleanup]
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/services/odhcpd/Makefile
package/network/services/odhcpd/files/odhcpd.defaults