Browse Source

Merge pull request #4821 from TDT-GmbH/pr/20170912-mwan3-fix-intial-state

net/mwan3: fix mwan3track initial_state and track_ip order
lilik-openwrt-22.03
champtar 7 years ago
committed by GitHub
parent
commit
6818e862bc
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      net/mwan3/Makefile
  2. +1
    -1
      net/mwan3/files/etc/hotplug.d/iface/15-mwan3
  3. +1
    -1
      net/mwan3/files/lib/mwan3/mwan3.sh

+ 1
- 1
net/mwan3/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mwan3
PKG_VERSION:=2.6.5
PKG_VERSION:=2.6.6
PKG_RELEASE:=1
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
PKG_LICENSE:=GPLv2


+ 1
- 1
net/mwan3/files/etc/hotplug.d/iface/15-mwan3 View File

@ -77,7 +77,7 @@ case "$ACTION" in
else
$LOG notice "Starting tracker on interface $INTERFACE (${DEVICE:-unknown})"
mwan3_set_iface_hotplug_state $INTERFACE "offline"
mwan3_track $INTERFACE $DEVICE "offline" "$src_ip"
mwan3_track $INTERFACE $DEVICE "unknown" "$src_ip"
fi
;;
ifdown)


+ 1
- 1
net/mwan3/files/lib/mwan3/mwan3.sh View File

@ -460,7 +460,7 @@ mwan3_track()
mwan3_list_track_ips()
{
track_ips="$1 $track_ips"
track_ips="$track_ips $1"
}
config_list_foreach $1 track_ip mwan3_list_track_ips


Loading…
Cancel
Save