Changeset 15618


Ignore:
Timestamp:
2009-05-05T13:00:00+02:00 (9 years ago)
Author:
markus
Message:

fixed dnsmasq init for "ignore" option

dnsmasq.init tried to set range options even when ignore was
set to "1". Now the functions stops processing after evaluating
the "ignore" option when the result is > 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/files/dnsmasq.init

    r15613 r15618  
    221221        } 
    222222 
    223         append_bool "$cfg" ignore "-2 $ifname" 
     223        append_bool "$cfg" ignore "-2 $ifname" && return 0 
    224224 
    225225        config_get proto "$net" proto 
Note: See TracChangeset for help on using the changeset viewer.