From d2968d63f4a44536b9e2b57086e38dda8555c74c Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sun, 7 Jan 2024 18:08:12 -0500 Subject: [PATCH] add logic check for VOC to ensure network grants are always allowed; --- src/host/p25/Control.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/host/p25/Control.cpp b/src/host/p25/Control.cpp index aeb46761..cb7deda7 100644 --- a/src/host/p25/Control.cpp +++ b/src/host/p25/Control.cpp @@ -389,6 +389,11 @@ void Control::setOptions(yaml::Node& conf, bool supervisor, const std::string cw m_disableNetworkGrant = false; } + if (m_disableNetworkGrant && m_voiceOnControl) { + LogWarning(LOG_P25, "Cannot disable network traffic grants for voice on control configuration."); + m_disableNetworkGrant = false; + } + /* ** CC Service Class */