[FS#876] dnsmasq-full "Exclude interfaces" configuration does not work as expected.

LEDE Bugs lede-bugs at lists.infradead.org
Thu Jun 29 06:55:57 PDT 2017


The following task has a new comment added:

FS#876 - dnsmasq-full "Exclude interfaces" configuration does not work as expected.
User who did this - Jo-Philipp Wich (jow-)

----------
Please test the following change:

    diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
    index a762cd3309..1ecbb3c689 100644
    --- a/package/network/services/dnsmasq/files/dnsmasq.init
    +++ b/package/network/services/dnsmasq/files/dnsmasq.init
    @@ -116,12 +116,12 @@ append_ipset() {
     }
     
     append_interface() {
    -       network_get_device ifname "$1" || return
    +       network_get_device ifname "$1" || ifname="$1"
            xappend "--interface=$ifname"
     }
     
     append_notinterface() {
    -       network_get_device ifname "$1" || return
    +       network_get_device ifname "$1" || ifname="$1"
            xappend "--except-interface=$ifname"
     }
     
    
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=876#comment2868



More information about the lede-bugs mailing list