Skip to content

Commit 3f93230

Browse files
committed
udp server bug
1 parent 6afb9fb commit 3f93230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ait/core/server/stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def input_stream_factory(name, inputs, handlers, zmq_args=None):
117117

118118
if len(inputs) == 0:
119119
raise ValueError("Input stream specification invalid")
120-
if type(inputs[0]) is int and 1024 <= inputs[2] <= 65535:
120+
if type(inputs[0]) is int and 1024 <= inputs[0] <= 65535:
121121
stream = UDPInputServerStream(name, inputs, handlers, zmq_args=zmq_args)
122122
elif type(inputs[0]) is str:
123123
if inputs[0].upper() == "TCP":

0 commit comments

Comments
 (0)