dnsmasq: respect option dhcpv4 disabled in dhcp-config
SVN-Revision: 42216
This commit is contained in:
parent
4a9acacf53
commit
c36e312647
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue