last few cleanups

This commit is contained in:
Mikayla Fischler
2023-06-07 14:22:35 -04:00
parent f1b1f0b75a
commit 1decd88415
2 changed files with 3 additions and 3 deletions

View File

@@ -945,7 +945,7 @@ function plc.comms(id, version, modem, plc_channel, svr_channel, range, reactor,
if self.linked then
if packet.type == SCADA_MGMT_TYPE.ESTABLISH then
-- link request confirmation
if (packet.length == 1) and (self.sv_addr == src_addr) then
if packet.length == 1 then
log.debug("received unsolicited establish response")
local est_ack = packet.data[1]