From 6a6889fae69a0f9c5bcfeceedc63500fa860dd29 Mon Sep 17 00:00:00 2001 From: sh123 Date: Fri, 28 May 2021 20:25:37 +0300 Subject: [PATCH] Set APRSIS filter only when IS to RF is enabled --- loraprs_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loraprs_service.cpp b/loraprs_service.cpp index 123fa36..67ca075 100644 --- a/loraprs_service.cpp +++ b/loraprs_service.cpp @@ -23,7 +23,7 @@ void Service::setup(const Config &conf) aprsLoginCommand_ = String("user ") + config_.AprsLogin + String(" pass ") + config_.AprsPass + String(" vers ") + CfgLoraprsVersion; - if (config_.AprsFilter.length() > 0) { + if (config_.EnableIsToRf && config_.AprsFilter.length() > 0) { aprsLoginCommand_ += String(" filter ") + config_.AprsFilter; } aprsLoginCommand_ += String("\n");