Browse Source

Merge pull request #15537 from aaronjg/mwan3/notrack

mwan3: allow interfaces with no tracking IPs
lilik-openwrt-22.03
Florian Eckert 4 years ago
committed by GitHub
parent
commit
58027efed1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      net/mwan3/Makefile
  2. +1
    -0
      net/mwan3/files/etc/init.d/mwan3

+ 1
- 1
net/mwan3/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mwan3
PKG_VERSION:=2.10.8
PKG_VERSION:=2.10.9
PKG_RELEASE:=1
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>, \
Aaron Goodman <aaronjg@alumni.stanford.edu>


+ 1
- 0
net/mwan3/files/etc/init.d/mwan3 View File

@ -17,6 +17,7 @@ start_tracker() {
interface=$1
config_get_bool enabled $interface 'enabled' '0'
[ $enabled -eq 0 ] && return
[ -z "$(config_get $interface track_ip)" ] && return
procd_open_instance "track_${1}"
procd_set_param command /usr/sbin/mwan3track $interface


Loading…
Cancel
Save