dnsmasq: add interface-name uci list.
authorDaniel Danzberger <daniel@dd-wrt.com>
Tue, 2 May 2017 15:05:07 +0000 (17:05 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 9 May 2017 08:00:49 +0000 (10:00 +0200)
commiteb99f8912ad7c827c876b1a64e9f347c2cbaf7af
treefb2fa9242f4ffc66603483bf9e6a040c09acee2e
parent4c3953ba291abfb1d28b1452b6e519367bf4f242
dnsmasq: add interface-name uci list.

This patch adds the interface-name option for each dhcp config
in /etc/config/dhcp.

With the interface_name option users can define a DNS name for each dhcp section
that will be resolved by dnsmasq with the underlaying interface address.

For example:
config dhcp 'lan'
option interface 'lan'
...
list interface_name 'home.lan'
...

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init