Changeset 128 for system/generators/global.php
- Timestamp:
- Dec 23, 2008, 8:23:59 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
system/generators/global.php
r37 r128 2 2 3 3 $MaxSubnet = 7; 4 4 $InetInterface = 'eth3'; 5 5 6 6 /* 7 8 7 function ToVpnIp($Host) 9 { 10 if($Host['external_ip'] == '') 8 { 9 if($Host['external_ip'] == '') 11 10 { 12 11 $Parts = explode('.', $Host['IP']); 13 12 return('172.16.'.$Parts[2].'.'.$Parts[3]); 14 } else 13 } else 15 14 { 16 15 return($Host['external_ip']); … … 19 18 20 19 function ToCzfreeIp($Host) 21 { 20 { 22 21 $Parts = explode('.', $Host['external_ip']); 23 22 if($Host['name'] == 'CENTRALA') return('10.144.1.1');
Note:
See TracChangeset
for help on using the changeset viewer.