From fd419d85a6e58ecec92f5ec523075c739b1bd50f Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 15 Jun 2021 04:43:28 +0200
Subject: [PATCH] L2SS-244: Max MTU is 9000, just use a fixed max buffer size.

---
 devices/clients/sst_client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devices/clients/sst_client.py b/devices/clients/sst_client.py
index 901a24df1..adbe3559f 100644
--- a/devices/clients/sst_client.py
+++ b/devices/clients/sst_client.py
@@ -130,7 +130,7 @@ class UDP_Receiver(Thread):
 
         while self.stream_on:
             try:
-                packet, _, _, _ = self.sock.recvmsg()
+                packet, _, _, _ = self.sock.recvmsg(9000)
                 self.queue.put(packet)
             except socket.timeout:
                 pass
-- 
GitLab