mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-03 15:14:53 -04:00
Fixed UDP broadcast echo packets not being filtered.
This commit is contained in:
parent
8b6870fad8
commit
4fd3d26714
2 changed files with 8 additions and 2 deletions
|
@ -135,7 +135,12 @@ def client_disconnected(link):
|
|||
|
||||
def client_request(message, packet):
|
||||
global serve_path
|
||||
filename = message.decode("utf-8")
|
||||
|
||||
try:
|
||||
filename = message.decode("utf-8")
|
||||
except Exception as e:
|
||||
filename = None
|
||||
|
||||
if filename in list_files():
|
||||
try:
|
||||
# If we have the requested file, we'll
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue