dnsmasq: respect option dhcpv4 disabled in dhcp-config
SVN-Revision: 42216
This commit is contained in:
parent
4a9acacf53
commit
c36e312647
@ -373,6 +373,9 @@ dhcp_add() {
|
|||||||
config_get net "$cfg" interface
|
config_get net "$cfg" interface
|
||||||
[ -n "$net" ] || return 0
|
[ -n "$net" ] || return 0
|
||||||
|
|
||||||
|
config_get dhcpv4 "$cfg" dhcpv4
|
||||||
|
[ "$dhcpv4" != "disabled" ] || return 0
|
||||||
|
|
||||||
config_get networkid "$cfg" networkid
|
config_get networkid "$cfg" networkid
|
||||||
[ -n "$networkid" ] || networkid="$net"
|
[ -n "$networkid" ] || networkid="$net"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user