Changeset 275 for trunk/system/generators/netwatch_import.php
- Timestamp:
- Jan 24, 2010, 8:05:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/netwatch_import.php
r273 r275 17 17 foreach($List as $Properties) 18 18 { 19 if(IsAddressInSubnet($Properties['host'], $Subnet['AddressRange'], $Subnet['Mask'])) 19 $NewAddress = new NetworkAddressIPv4(); 20 $NewAddress->AddressFromString($Subnet['AddressRange']); 21 $NewAddress->Prefix = $Subnet['Mask']; 22 if($NewAddress->Contain($Properties['host'])) 20 23 { 21 24 //echo($Properties['host'].', ');
Note:
See TracChangeset
for help on using the changeset viewer.