Skip to content

Commit

Permalink
udp server bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cjjacks committed Jul 23, 2024
1 parent 6afb9fb commit 3f93230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ait/core/server/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 3f93230

Please sign in to comment.