From fc70b6813ce5859f1e0ae3a323277b5e3cbf3469 Mon Sep 17 00:00:00 2001 From: Tony Corbett G0WFV Date: Fri, 2 Jun 2017 11:42:54 +0100 Subject: [PATCH] Stop gateway bombing out when MMDVMHost stops after the gateway has restarted --- DMRGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DMRGateway.cpp b/DMRGateway.cpp index 138a49c..017aa36 100644 --- a/DMRGateway.cpp +++ b/DMRGateway.cpp @@ -268,7 +268,7 @@ int CDMRGateway::run() while (!m_killed) { unsigned char config[400U]; unsigned int len = m_repeater->getConfig(config); - if (len > 0U) + if (len > 0U && m_repeater->getId() > 1000U) break; m_repeater->clock(10U);