Reset port

This commit is contained in:
simon.kagstrom 2010-02-23 20:44:55 +00:00
parent 8e77843d81
commit 341c31bfd1

View File

@ -718,7 +718,7 @@ if __name__ == "__main__":
ip2c = ip2country.IP2Country(verbose=0) ip2c = ip2country.IP2Country(verbose=0)
syslog.openlog("frodo") syslog.openlog("frodo")
log_info("Starting Frodo network broker", True) log_info("Starting Frodo network broker", True)
broker = Broker( ("", 46215), BrokerPacketHandler, broker = Broker( ("", 46214), BrokerPacketHandler,
ip2c, sys.argv[1], sys.argv[2], sys.argv[3]) ip2c, sys.argv[1], sys.argv[2], sys.argv[3])
thread.start_new_thread(ping_thread_fn, (broker, 5)) thread.start_new_thread(ping_thread_fn, (broker, 5))
broker.serve_forever() broker.serve_forever()