Changeset 288 for trunk/system/generators/firewall_mangle.php
- Timestamp:
- Sep 9, 2010, 7:29:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/firewall_mangle.php
r280 r288 64 64 $NewAddress->AddressFromString($Subnet['AddressRange']); 65 65 $NewAddress->Prefix = $Subnet['Mask']; 66 InsertToAddressTree($AddressTree, $NewAddress, $Subnet['Name']); 66 if($Subnet['Member'] != 0) $ForceMark = true; 67 else $ForceMark = false; 68 echo($ForceMark.', '); 69 InsertToAddressTree($AddressTree, $NewAddress, $Subnet['Name'], false, $ForceMark); 67 70 } 68 71 echo("\n"); … … 77 80 foreach($Node['Items'] as $Index => $Item) 78 81 { 79 if( count($Item['Items']) == 0)82 if((count($Item['Items']) == 0) or ($Item['ForceMark'] == true)) 80 83 { 81 84 // Hosts
Note:
See TracChangeset
for help on using the changeset viewer.