diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-05-06 12:16:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 12:16:09 +0200 |
commit | 58027efed14573d3603f0ceb58d62e4720286d21 (patch) | |
tree | 7db9e6f1617100ddfa0d4053631b35f4e5f7d10a | |
parent | 7e8260baf262f4aa18c6c669274c8de653df977f (diff) | |
parent | b7ea19bc96e444b6726218abc6db7cd558bbf343 (diff) |
Merge pull request #15537 from aaronjg/mwan3/notrack
mwan3: allow interfaces with no tracking IPs
-rw-r--r-- | net/mwan3/Makefile | 2 | ||||
-rwxr-xr-x | net/mwan3/files/etc/init.d/mwan3 | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index 6909505f7..e4c3aea85 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -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> diff --git a/net/mwan3/files/etc/init.d/mwan3 b/net/mwan3/files/etc/init.d/mwan3 index 2d5b53d23..560621516 100755 --- a/net/mwan3/files/etc/init.d/mwan3 +++ b/net/mwan3/files/etc/init.d/mwan3 @@ -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 |