dnsmasq: respect option dhcpv4 disabled in dhcp-config

SVN-Revision: 42216
master
Steven Barth 10 years ago
parent 4a9acacf53
commit c36e312647
  1. 3
      package/network/services/dnsmasq/files/dnsmasq.init

@ -373,6 +373,9 @@ dhcp_add() {
config_get net "$cfg" interface
[ -n "$net" ] || return 0
config_get dhcpv4 "$cfg" dhcpv4
[ "$dhcpv4" != "disabled" ] || return 0
config_get networkid "$cfg" networkid
[ -n "$networkid" ] || networkid="$net"

Loading…
Cancel
Save