Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
include $(TOPDIR)/rules.mk
PKG_NAME:=mwan3
-PKG_VERSION:=2.11.16
+PKG_VERSION:=2.11.17
PKG_RELEASE:=5
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>, \
Aaron Goodman <aaronjg@alumni.stanford.edu>
return 1
}
;;
+ nslookup)
+ command -v nslookup 1>/dev/null 2>&1 || {
+ LOG warn "Missing nslookup. Please install busybox package."
+ return 1
+ }
+ ;;
*)
LOG warn "Unsupported tracking method: $track_method"
return 2
wait $TRACK_PID
result=$(grep Lost $TRACK_OUTPUT | awk '{print $12}')
;;
+ nslookup)
+ WRAP nslookup www.google.com $track_ip > $TRACK_OUTPUT &
+ TRACK_PID=$!
+ wait $TRACK_PID
+ result=$?
+ ;;
esac
do_log=""
if [ $check_quality -eq 0 ]; then