Browse Source

net/mwan3: fix mwan3track STATUS if initial_state is offline

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 7 years ago
parent
commit
803f69546e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/mwan3/Makefile
  2. +1
    -1
      net/mwan3/files/etc/hotplug.d/iface/15-mwan3

+ 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)


Loading…
Cancel
Save