From 4d766994190866cf2757bb59ca75aead3e5656fd Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Thu, 10 Aug 2017 22:37:04 -0400 Subject: [PATCH] match the unit number in the response to the one in the request --- modpypes/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modpypes/server.py b/modpypes/server.py index 0adbb0b..10f640e 100644 --- a/modpypes/server.py +++ b/modpypes/server.py @@ -86,6 +86,7 @@ class SimpleServer(Client): # match the transaction information resp.pduDestination = req.pduSource resp.mpduTransactionID = req.mpduTransactionID + resp.mpduUnitID = req.mpduUnitID _commlog.debug("<<< %r %r", resp.pduDestination, resp) # send the response back