Changeset 277 for trunk/system/generators/firewall_nat.php
- Timestamp:
- Feb 27, 2010, 2:59:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/firewall_nat.php
r276 r277 41 41 $NewAddress->Prefix = $Subnet['ExtMask']; 42 42 $Range = $NewAddress->GetRange(); 43 if($Subnet['ExtMask'] != 32) $Range = $Range['From']->AddressToStrin ().'-'.$Range['To']->AddressToString();44 else $Rang e = $Range['From']->AddressToString();43 if($Subnet['ExtMask'] != 32) $Range = $Range['From']->AddressToString().'-'.$Range['To']->AddressToString(); 44 else $Rang e = $Range['From']->AddressToString(); 45 45 if($Subnet['Mask'] == 32) $Src = $Subnet['AddressRange']; 46 46 else $Src = $Subnet['AddressRange'].'/'.$Subnet['Mask'];
Note:
See TracChangeset
for help on using the changeset viewer.