]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fix: #589 GetResolvedIP_ipv6 does not strip trailing dot
authorLaurent Destailleur <eldy@destailleur.fr>
Fri, 7 Feb 2014 19:12:12 +0000 (20:12 +0100)
committerLaurent Destailleur <eldy@destailleur.fr>
Fri, 7 Feb 2014 19:12:12 +0000 (20:12 +0100)
docs/awstats_changelog.txt
wwwroot/cgi-bin/plugins/ipv6.pm

index 78336f30e44402f7fc059ec7bd62774ded1401d7..232b8eca745a7565968d07d9f898a31b7b80c111 100644 (file)
@@ -1,6 +1,14 @@
 AWStats Changelog
 -----------------
 
+***** 7.4 *****
+
+Fixes:
+#205 GetResolvedIP_ipv6 does not strip trailing dot
+#496 tools scripts should print warnings and errors to STDERR
+#919 Referrals not getting tracked due to improperly getting flagged as a search
+Fixes permission on some .pl scripts.
+
 
 ***** 7.3 *****
 
index 743fcc1771416495d96ce66118c52bb9b99e414f..14857ee5f2ff873c8fad9172bbfce70a44dc365f 100644 (file)
@@ -63,6 +63,7 @@ sub GetResolvedIP_ipv6 {
        my $query = $resolver->query($reverseip, "PTR");
        if (! defined($query)) { return; }
        my @result=split(/\s/, ($query->answer)[0]->string);
+       chop($result[4]); # Remove the trailing dot of the answer.
        return $result[4];
        # ----->
 }