dnsmasq: respect option dhcpv4 disabled in dhcp-config

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42218 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cyrus 2014-08-19 06:00:07 +00:00
parent 90dec7a948
commit 6566ae535e
1 changed files with 3 additions and 0 deletions

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"