From 8a0e98bab8a4bccd11adc0e2c838910ed1b6d794 Mon Sep 17 00:00:00 2001 From: iphydf Date: Mon, 5 Feb 2018 16:11:49 +0000 Subject: Fix LAN discovery on FreeBSD. Also, add an auto-test for bootstrap and for LAN discovery. Bootstrap is never tested otherwise, and LAN discovery is a prerequisite for everything else. Having these two tests lets us rule out or identify LAN discovery as a possible cause for test failures. --- other/fun/bootstrap_node_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'other/fun') diff --git a/other/fun/bootstrap_node_info.py b/other/fun/bootstrap_node_info.py index 17349334..ffda41e3 100644 --- a/other/fun/bootstrap_node_info.py +++ b/other/fun/bootstrap_node_info.py @@ -32,7 +32,7 @@ def printHelp(): print("Usage: " + sys.argv[0] + " ") print(" Example: " + sys.argv[0] + " ipv4 192.210.149.121 33445") print(" Example: " + sys.argv[0] + " ipv4 23.226.230.47 33445") - print(" Example: " + sys.argv[0] + " ipv4 biribiri.org 33445") + print(" Example: " + sys.argv[0] + " ipv4 node.tox.biribiri.org 33445") print(" Example: " + sys.argv[0] + " ipv4 cerberus.zodiaclabs.org 33445") print(" Example: " + sys.argv[0] + " ipv6 2604:180:1::3ded:b280 33445") print("") @@ -95,4 +95,4 @@ version = int.from_bytes(data[PACKET_ID_LENGTH:PACKET_ID_LENGTH + VERSION_LENGTH motd = data[PACKET_ID_LENGTH + VERSION_LENGTH:].decode("utf-8") print("Version: " + str(version)) print("MOTD: " + motd) -sys.exit(0) \ No newline at end of file +sys.exit(0) -- cgit v1.2.3