mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-02 14:46:05 -04:00
Improved malformed packet detection
This commit is contained in:
parent
4253175627
commit
fdaa58a6fa
3 changed files with 28 additions and 20 deletions
|
@ -585,7 +585,9 @@ class Transport:
|
|||
Transport.jobs_locked = True
|
||||
|
||||
packet = RNS.Packet(None, raw)
|
||||
packet.unpack()
|
||||
if not packet.unpack():
|
||||
return
|
||||
|
||||
packet.receiving_interface = interface
|
||||
packet.hops += 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue