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>
Wed, 25 Oct 2017 07:57:58 +0000 (09:57 +0200)
commit367b4563b4cd466188bd4c8cf24ff0a125029c1c
tree61173d5b87bf1eb0a5f905e2620260ad72e88242
parentee6fa8d8396922a3cfda58f5ee56a6efe67ccf80
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>
(cherry picked from commit a89c36b50875e61c790113d3adee10621575788a)
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init