From bcdac6e2e65f35b220a3e7df4ae07337a94e75ce Mon Sep 17 00:00:00 2001 From: f-kessler Date: Thu, 5 Oct 2017 21:09:24 +0200 Subject: [PATCH] exclude netIdent_ric from multicastAlarm If not excluded it cannot be used anywhere --- includes/decoders/poc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/decoders/poc.py b/includes/decoders/poc.py index fe7f724..a2ee308 100644 --- a/includes/decoders/poc.py +++ b/includes/decoders/poc.py @@ -131,8 +131,8 @@ def decode(freq, decoded): from includes import descriptionList data["description"] = descriptionList.getDescription("POC", data["ric"]+data["functionChar"]) - # multicastAlarm processing if enabled and message without text ord delimiter RIC received - if globalVars.config.getint("multicastAlarm", "multicastAlarm") and (data["msg"] == "" or data["ric"] == globalVars.config.get("multicastAlarm", "multicastAlarm_delimiter_ric")): + # multicastAlarm processing if enabled and a message without text or delimiter RIC or netIdent_ric received + if globalVars.config.getint("multicastAlarm", "multicastAlarm") and data["ric"] != globalVars.config.get("POC", "netIdent_ric") and (data["msg"] == "" or data["ric"] == globalVars.config.get("multicastAlarm", "multicastAlarm_delimiter_ric")): logging.debug(" - multicastAlarm without msg") from includes import multicastAlarm multicastAlarm.newEntrymultiList(data)