Changeset 699 for trunk/Modules/NetworkConfigLinux/Generators/DNS.php
- Timestamp:
- Sep 28, 2014, 11:22:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigLinux/Generators/DNS.php
r698 r699 141 141 $Octets = $Addr->GetOctets(); 142 142 $Octets = array_slice($Octets, 0, (128 - $Prefix) / 4); 143 $Octets = array_reverse($Octets);144 143 $Octets = implode('.', $Octets); 145 144 … … 152 151 $Octets = array_reverse($NetAddr->GetOctets()); 153 152 $Octets = array_reverse(array_slice($Octets, 0, $Prefix / 4)); 154 $FileName = implode('.', $Octets).'.ip v6.arpa.zone';153 $FileName = implode('.', $Octets).'.ip6.arpa.zone'; 155 154 $File = fopen($DNS['BaseDir'].$FileName, 'w+'); 156 155 fputs($File, $Output);
Note:
See TracChangeset
for help on using the changeset viewer.