Changeset 874 for trunk/Modules/NetworkConfigRouterOS/Routerboard2.php
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/Routerboard2.php
r873 r874 14 14 { 15 15 if (is_array($Commands)) $Commands = implode(';', $Commands); 16 return (parent::Execute($Commands));16 return parent::Execute($Commands); 17 17 } 18 18 … … 28 28 $List[substr($ResultLineParts[0], 0, -1)] = $ResultLineParts[1]; 29 29 } 30 return ($List);30 return $List; 31 31 } 32 32 … … 52 52 $List[] = $ListItem; 53 53 } 54 return ($List);54 return $List; 55 55 } 56 56 57 57 function GetSystemResource() 58 58 { 59 return ($this->GetItem('/system resource print'));59 return $this->GetItem('/system resource print'); 60 60 } 61 61 62 62 function GetFirewallFilterList() 63 63 { 64 return ($this->GetList('/ip firewall nat', array('src-address', 'dst-address', 'bytes')));64 return $this->GetList('/ip firewall nat', array('src-address', 'dst-address', 'bytes')); 65 65 } 66 66 67 67 function GetDHCPServerLeasesList() 68 68 { 69 return ($this->GetList('/ip dhcp-server lease', array('address', 'active-address', 'comment', 'lease-time', 'status', 'host-name')));69 return $this->GetList('/ip dhcp-server lease', array('address', 'active-address', 'comment', 'lease-time', 'status', 'host-name')); 70 70 } 71 71 }
Note:
See TracChangeset
for help on using the changeset viewer.