]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Add support for pure-ftpd stats format in method field 44/head
authorLandry Breuil <breuil@craig.fr>
Wed, 5 Oct 2016 13:11:20 +0000 (15:11 +0200)
committerLandry Breuil <breuil@craig.fr>
Wed, 5 Oct 2016 13:11:20 +0000 (15:11 +0200)
wwwroot/cgi-bin/awstats.pl

index 1fd2e7555a936ad890b587701d38e149854a9262..21aa624a00af8fb124515702db7637b31855f2f1 100755 (executable)
@@ -18343,6 +18343,7 @@ if ( $UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft' )
                elsif (
                        $LogType eq 'F'
                        && (   $field[$pos_method] eq 'RETR'
+                               || $field[$pos_method] eq 'D'
                                || $field[$pos_method] eq 'o'
                                || $field[$pos_method] =~ /$regget/o )
                  )
@@ -18353,6 +18354,7 @@ if ( $UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft' )
                elsif (
                        $LogType eq 'F'
                        && (   $field[$pos_method] eq 'STOR'
+                               || $field[$pos_method] eq 'U'
                                || $field[$pos_method] eq 'i'
                                || $field[$pos_method] =~ /$regsent/o )
                  )