mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
fixed up dhcp template
This commit is contained in:
@@ -132,12 +132,16 @@ function DisplayDHCPConfig()
|
||||
}
|
||||
}
|
||||
|
||||
exec("ip -o link show | awk -F': ' '{print $2}'", $interfaces);
|
||||
exec('cat ' . RASPI_DNSMASQ_LEASES, $leases);
|
||||
|
||||
echo renderTemplate("dhcp", compact(
|
||||
"status",
|
||||
"serviceStatus",
|
||||
"RangeStart", "RangeEnd",
|
||||
"arrRangeLeaseTime",
|
||||
"mselected", "hselected", "dselected", "infiniteselected",
|
||||
"dnsmasq_state", "conf", "dhcpHost"
|
||||
"dnsmasq_state", "conf", "dhcpHost",
|
||||
"interfaces", "leases"
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user