mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-23 00:16:28 -05:00
Guard empty keepalive frames
This commit is contained in:
parent
149e415109
commit
4eebf0b685
8 changed files with 8 additions and 0 deletions
|
|
@ -302,6 +302,7 @@ class TCPClientInterface(Interface):
|
|||
raise IOError("Attempt to reconnect on a non-initiator TCP interface")
|
||||
|
||||
def process_incoming(self, data):
|
||||
if not data: return
|
||||
if self.online and not self.detached:
|
||||
self.rxb += len(data)
|
||||
if hasattr(self, "parent_interface") and self.parent_interface != None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue