mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add the interface's descr after the pool name.
This commit is contained in:
parent
5e3356d727
commit
97752da542
@ -170,7 +170,8 @@ foreach($leases_content as $lease) {
|
||||
while($f < $fcount) {
|
||||
switch($data[$f]) {
|
||||
case "failover":
|
||||
$pools[$p]['name'] = $data[$f+2];
|
||||
$pools[$p]['name'] = trim($data[$f+2], '"');
|
||||
$pools[$p]['name'] = "{$pools[$p]['name']} (" . convert_friendly_interface_to_friendly_descr(substr($pools[$p]['name'], 5)) . ")";
|
||||
$pools[$p]['mystate'] = $data[$f+7];
|
||||
$pools[$p]['peerstate'] = $data[$f+14];
|
||||
$pools[$p]['mydate'] = $data[$f+10];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user