Skip to content

Commit

Permalink
mwan3: fix grep order for nping track method
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Aldaz-Carroll <[email protected]>
  • Loading branch information
ealdaz-seesai committed Sep 4, 2024
1 parent 8cc9191 commit 976a739
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/mwan3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=mwan3
PKG_VERSION:=2.11.14
PKG_VERSION:=2.11.15
PKG_RELEASE:=3
PKG_MAINTAINER:=Florian Eckert <[email protected]>, \
Aaron Goodman <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion net/mwan3/files/usr/sbin/mwan3track
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ main() {
WRAP nping -c $count $track_ip --${FAMILY#nping-} > $TRACK_OUTPUT &
TRACK_PID=$!
wait $TRACK_PID
result=$(grep $TRACK_OUTPUT Lost | awk '{print $12}')
result=$(grep Lost $TRACK_OUTPUT | awk '{print $12}')
;;
esac
do_log=""
Expand Down

0 comments on commit 976a739

Please sign in to comment.