diff --git a/plugins/hg612_current_speed b/plugins/hg612_current_speed index 2c354f1..e418e76 100755 --- a/plugins/hg612_current_speed +++ b/plugins/hg612_current_speed @@ -49,10 +49,10 @@ if [ "$1" = "config" ]; then fi; echo -n "downstream.value " -echo $(grep Upstream $statsfile | grep Path | head -n 1 | awk '{ print $11 }')000 +echo $(grep Upstream $statsfile | grep 'Path\|Bearer' | head -n 1 | awk '{ print $11 }')000 echo -n "upstream.value " -echo $(grep Upstream $statsfile | grep Path | head -n 1 | awk '{ print $6 }')000 +echo $(grep Upstream $statsfile | grep 'Path\|Bearer' | head -n 1 | awk '{ print $6 }')000 exit 0 fi diff --git a/plugins/hg612_sync_speed b/plugins/hg612_sync_speed index 9004f5b..b684a98 100755 --- a/plugins/hg612_sync_speed +++ b/plugins/hg612_sync_speed @@ -59,13 +59,13 @@ echo -n "maxdownstream.value " echo $(grep Upstream $statsfile | grep Max | head -n 1 | awk '{ print $10 }')000 echo -n "downstream.value " -echo $(grep Upstream $statsfile | grep Path | head -n 1 | awk '{ print $11 }')000 +echo $(grep Upstream $statsfile | grep 'Path\|Bearer' | head -n 1 | awk '{ print $11 }')000 echo -n "maxupstream.value " echo $(grep Upstream $statsfile | grep Max | head -n 1 | awk '{ print $5 }')000 echo -n "upstream.value " -echo $(grep Upstream $statsfile | grep Path | head -n 1 | awk '{ print $6 }')000 +echo $(grep Upstream $statsfile | grep 'Path\|Bearer' | head -n 1 | awk '{ print $6 }')000 exit 0