mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 15:30:18 +00:00
Cleanup
This commit is contained in:
parent
1a2da0d7c7
commit
79725a1637
@ -753,9 +753,7 @@ class Transport:
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
# If the IFAC flag is not set, but should be,
|
# If the IFAC flag is not set, but should be,
|
||||||
# we drop the packet.
|
# drop the packet.
|
||||||
# TODO: Remove log statements
|
|
||||||
RNS.log(str(interface)+" with IFAC enabled received packet without access code, dropping.", RNS.LOG_EXTREME)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
else:
|
else:
|
||||||
@ -763,8 +761,6 @@ class Transport:
|
|||||||
# check the received packet IFAC flag.
|
# check the received packet IFAC flag.
|
||||||
if raw[0] & 0x80 == 0x80:
|
if raw[0] & 0x80 == 0x80:
|
||||||
# If the flag is set, drop the packet
|
# If the flag is set, drop the packet
|
||||||
# TODO: Remove log statements
|
|
||||||
RNS.log(str(interface)+" with IFAC disabled received packet with access code, dropping.", RNS.LOG_EXTREME)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
while (Transport.jobs_running):
|
while (Transport.jobs_running):
|
||||||
|
Loading…
Reference in New Issue
Block a user