Skip to content

Commit

Permalink
Update examples/mcast_communicator.py
Browse files Browse the repository at this point in the history
Co-authored-by: relativityspace-vtang <[email protected]>
  • Loading branch information
1 parent 6f71c7a commit ebb8c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mcast_communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def listener_thread(machine_index: int, addr_family: int, iface_ip: str) -> None


# Read and check arguments
if len(sys.argv) != 4:
if len(sys.argv) not in (3, 4):
print("Error: Usage: %s <IPv4 | IPv6> <1|2|3> [Interface to bind to]" % (sys.argv[0]))
exit(1)

Expand Down

0 comments on commit ebb8c4f

Please sign in to comment.