better checking to skip bandwidth for locally uploaded ftp backup files

Version 1.5

Bugfix
Finished

Local IP list: 127.0.0.1 ::fff:127.0.0.1 192.168.* 10.* 1) The DAdminUsage.bytes now excludes any local upload IPs for calls to the ftp_upload.php 2) pureftpd log parsing was already fine, but for proftpd, the :ffff:127.0.0.1 wasn't being skipped. Centralized the ip check to one central "is_local_ip(ip)" function.

Interested to try DirectAdmin? Get a 30-day Free Trial!