diff -Nur smeserver-bandwidthd-2.0.1.2.old/root/etc/cron.d/bandwidthd_mysql_purge smeserver-bandwidthd-2.0.1.2/root/etc/cron.d/bandwidthd_mysql_purge --- smeserver-bandwidthd-2.0.1.2.old/root/etc/cron.d/bandwidthd_mysql_purge 2016-12-15 16:06:35.616000000 -0500 +++ smeserver-bandwidthd-2.0.1.2/root/etc/cron.d/bandwidthd_mysql_purge 2016-12-15 16:07:44.826000000 -0500 @@ -1 +1 @@ -5 5 * * 4 root /bin/sh /usr/share/doc/bandwidthd-2.0.1.1/phphtdocs/bd_mysql_purge.sh |mysql `/sbin/e-smith/db configuration getprop bandwidthd DbName`|grep -v 'status OK' +5 5 * * 4 root /bin/sh /usr/share/doc/bandwidthd-2.0.1.1/phphtdocs/bd_mysql_purge.sh |mysql `/sbin/e-smith/db configuration getprop bandwidthd DbName`|grep -vE '(Msg_text|already up to date|status.*OK)' diff -Nur smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates/etc/bandwidthd.conf/07subnet smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates/etc/bandwidthd.conf/07subnet --- smeserver-bandwidthd-2.0.1.2.old/root/etc/e-smith/templates/etc/bandwidthd.conf/07subnet 2016-12-15 16:06:35.618000000 -0500 +++ smeserver-bandwidthd-2.0.1.2/root/etc/e-smith/templates/etc/bandwidthd.conf/07subnet 2016-12-15 16:21:01.445000000 -0500 @@ -14,9 +14,9 @@ foreach $rec (@LocalAccess) { - $OUT .= "subnet $rec \n" - unless $rec eq "127.0.0.1"; - + next if $rec eq "127.0.0.1"; + $rec= ($rec=~ /[.\d]+ [.\d]+/ )? $rec : "$rec 255.255.255.255"; + $OUT .= "subnet $rec \n"; } #$OUT .= "subnet $localAccess \n";