mirror of https://github.com/hak5/openwrt.git
parent
4a9acacf53
commit
c36e312647
|
@ -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 New Issue