diff options
author | Aaron Goodman <aaronjg@stanford.edu> | 2021-04-28 19:42:38 -0400 |
---|---|---|
committer | Aaron Goodman <aaronjg@stanford.edu> | 2021-05-02 19:13:44 -0400 |
commit | b7ea19bc96e444b6726218abc6db7cd558bbf343 (patch) | |
tree | a2dbe1eca53ec8e815a4895de3763be19ee872d9 /net/mwan3/files | |
parent | 1606574614c2532654982f12854c7449c9a6ca25 (diff) |
mwan3: allow interfaces with no tracking IPs
In the procd refactor, support for interfaces with no tracking IPs was
inadvertentiy removed. This commit restores the previous behavior
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Diffstat (limited to 'net/mwan3/files')
-rwxr-xr-x | net/mwan3/files/etc/init.d/mwan3 | 1 |
1 files changed, 1 insertions, 0 deletions
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 |