Browse Source

net/mwan3: remove needless log output on mwan3track

Remove needless log output this will pollute the logging.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 7 years ago
parent
commit
5f068b7fb3
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      net/mwan3/files/usr/sbin/mwan3track

+ 0
- 1
net/mwan3/files/usr/sbin/mwan3track View File

@ -121,7 +121,6 @@ main() {
if [ $check_quality -eq 0 ]; then if [ $check_quality -eq 0 ]; then
ping -I $DEVICE -c $count -W $timeout -s $size -q $track_ip &> /dev/null ping -I $DEVICE -c $count -W $timeout -s $size -q $track_ip &> /dev/null
result=$? result=$?
$LOG info "ping check result $track_ip on $1 ($2): $result"
else else
ping_result=`ping -I $DEVICE -c $count -W $timeout -s $size -q $track_ip | tail -2` ping_result=`ping -I $DEVICE -c $count -W $timeout -s $size -q $track_ip | tail -2`
loss=`echo "$ping_result" | grep "packet loss" | cut -d "," -f3 | awk '{print $1}' | sed -e 's/%//'` loss=`echo "$ping_result" | grep "packet loss" | cut -d "," -f3 | awk '{print $1}' | sed -e 's/%//'`


Loading…
Cancel
Save