X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=gps303%2Ftermconfig.py;fp=gps303%2Ftermconfig.py;h=fe1f2cd78f2410696ee53fe7ff8a11ef1f063dbc;hb=faa8ce9d87530105ec2ad2f4809a9ace581a2ad6;hp=1ab65ce937004f8bfeb5c2c99feef2934b190d76;hpb=5d056391aed17388fb8c2bfe71fd9eade2fe5c55;p=loctrkd.git diff --git a/gps303/termconfig.py b/gps303/termconfig.py index 1ab65ce..fe1f2cd 100644 --- a/gps303/termconfig.py +++ b/gps303/termconfig.py @@ -18,11 +18,7 @@ def runserver(conf): zsub = zctx.socket(zmq.SUB) zsub.connect(conf.get("collector", "publishurl")) for protoname in ( - "SUPERVISION", "STATUS", - "RESET", - "WHITELIST_TOTAL", - "PROHIBIT_LBS", "SETUP", "POSITION_UPLOAD_INTERVAL", ): @@ -42,6 +38,10 @@ def runserver(conf): datetime.fromtimestamp(zmsg.when).astimezone(tz=timezone.utc), msg, ) + if msg.DIR is not Dir.EXT: + log.error( + "%s does not expect externally provided response", msg + ) kwargs = {} if isinstance(msg, STATUS): kwargs = {