From 3f93230557a9434afc9beb2db0f49cac2336bdfb Mon Sep 17 00:00:00 2001 From: Cameron Jackson Date: Tue, 23 Jul 2024 11:07:15 -0700 Subject: [PATCH] udp server bug --- ait/core/server/stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ait/core/server/stream.py b/ait/core/server/stream.py index a4d9f192..6c2bfa15 100644 --- a/ait/core/server/stream.py +++ b/ait/core/server/stream.py @@ -117,7 +117,7 @@ def input_stream_factory(name, inputs, handlers, zmq_args=None): if len(inputs) == 0: raise ValueError("Input stream specification invalid") - if type(inputs[0]) is int and 1024 <= inputs[2] <= 65535: + if type(inputs[0]) is int and 1024 <= inputs[0] <= 65535: stream = UDPInputServerStream(name, inputs, handlers, zmq_args=zmq_args) elif type(inputs[0]) is str: if inputs[0].upper() == "TCP":