Changeset 860 for trunk/Modules/NetworkConfigRouterOS/Generators/DHCP.php
- Timestamp:
- May 8, 2019, 8:22:45 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/Generators/DHCP.php
r817 r860 28 28 $Name = $Interface['DeviceName']; 29 29 if($Interface['Name'] != '') $Name .= '-'.$Interface['Name']; 30 $Items[] = array('mac-address' => $Interface['MAC'], 'address' => $Interface['LocalIP'], 'server' => $Server, 'comment' => $Name );30 $Items[] = array('mac-address' => $Interface['MAC'], 'address' => $Interface['LocalIP'], 'server' => $Server, 'comment' => $Name, 'lease-time' => '24h'); 31 31 } 32 32
Note:
See TracChangeset
for help on using the changeset viewer.