include $(TOPDIR)/rules.mk
PKG_NAME:=mwan3
-PKG_VERSION:=2.8.1
-PKG_RELEASE:=1
+PKG_VERSION:=2.8.2
+PKG_RELEASE:=2
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
-PKG_LICENSE:=GPLv2
+PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
local recovery_interval down up size
local keep_failure_interval check_quality failure_latency
local recovery_latency failure_loss recovery_loss
- local max_ttl
+ local max_ttl httping_ssl
[ -z "$5" ] && echo "Error: should not be started manually" && exit 0
config_load mwan3
config_get track_method $1 track_method ping
+ config_get_bool httping_ssl $1 httping_ssl 0
validate_track_method $track_method $SRC_IP || {
track_method=ping
if validate_track_method $track_method; then
result=$?
;;
httping)
- httping -y $SRC_IP -c $count -t $timeout -q $track_ip &> /dev/null
+ if [ "$httping_ssl" -eq 1 ]; then
+ httping -y $SRC_IP -c $count -t $timeout -q "https://$track_ip" &> /dev/null
+ else
+ httping -y $SRC_IP -c $count -t $timeout -q "http://$track_ip" &> /dev/null
+ fi
result=$?
;;
nping-tcp)