dnsmasq: respect option dhcpv4 disabled in dhcp-config

SVN-Revision: 42216
This commit is contained in:
Steven Barth 2014-08-19 05:58:44 +00:00
parent 4a9acacf53
commit c36e312647

View file

@ -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"