This commit is contained in:
simon.kagstrom 2010-02-14 09:19:04 +00:00
parent bc966b36ad
commit b7cf3c9aff

View File

@ -582,7 +582,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( ("", 46214), BrokerPacketHandler, broker = Broker( ("", 46215), 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()