dnsmasq: restore ability to include/exclude raw device names
authorJo-Philipp Wich <jo@mein.io>
Mon, 10 Jul 2017 08:53:29 +0000 (10:53 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 10 Jul 2017 09:02:27 +0000 (11:02 +0200)
commita89c36b50875e61c790113d3adee10621575788a
tree4a56d96564aa3f87d29bd7e7049bb7c17f878045
parent9d07d2dc56a45ac0deb02a3b6ec7cceaaec89091
dnsmasq: restore ability to include/exclude raw device names

Commit 5cd88f4 "dnsmasq: remove use of uci state for getting network ifname"
broke the ability to specify unmanaged network device names for inclusion
and exclusion in the uci configuration.

Restore support for raw device names by falling back to the input value
when "network_get_device" yields no result.

Fixes FS#876.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init