Commit 50f07448 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Listen on all interfaces by default

parent cad649a9
......@@ -6,10 +6,10 @@ from threading import Event
def main():
parser = argparse.ArgumentParser(description='')
parser.add_argument('addr', type=str, default="localhost:5556", nargs="?")
parser.add_argument('addr', type=str, default="*:5556", nargs="?")
args = parser.parse_args()
host = "*"
port = "5556"
host, port = args.addr.split(":")
topic = "events"
states = {-1: "abort",
0: "pre_launch",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment