Ignore:
Timestamp:
Sep 28, 2014, 11:22:53 PM (10 years ago)
Author:
chronos
Message:
  • Opraveno: Chybný název IPv6 zonového souboru.
  • Opraveno: Chybné pořadí IPv6 IN PTR adres.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigLinux/Generators/DNS.php

    r698 r699  
    141141        $Octets = $Addr->GetOctets();
    142142        $Octets = array_slice($Octets, 0, (128 - $Prefix) / 4);
    143         $Octets = array_reverse($Octets);
    144143        $Octets = implode('.', $Octets);
    145144
     
    152151    $Octets = array_reverse($NetAddr->GetOctets());
    153152    $Octets = array_reverse(array_slice($Octets, 0, $Prefix / 4));
    154     $FileName = implode('.', $Octets).'.ipv6.arpa.zone';
     153    $FileName = implode('.', $Octets).'.ip6.arpa.zone';
    155154    $File = fopen($DNS['BaseDir'].$FileName, 'w+');
    156155    fputs($File, $Output);
Note: See TracChangeset for help on using the changeset viewer.