diff --git a/tools/python/tests/dhtnetwork.py b/tools/python/tests/dhtnetwork.py index 3105c624..b9141840 100644 --- a/tools/python/tests/dhtnetwork.py +++ b/tools/python/tests/dhtnetwork.py @@ -124,7 +124,7 @@ if __name__ == '__main__': if args.bootstrap6: bs.append((args.bootstrap6, str(4000))) - net = DhtNetwork(iface=args.iface, port=args.port, bootstrap=bs if args.bootstrap else []) + net = DhtNetwork(iface=args.iface, port=args.port, bootstrap=bs) net.resize(args.node_num) with lock: diff --git a/tools/python/tests/dummy_if.py b/tools/python/tests/dummy_if.py index 9c1ab110..624d1a98 100755 --- a/tools/python/tests/dummy_if.py +++ b/tools/python/tests/dummy_if.py @@ -57,7 +57,7 @@ try: if args.ipv4: i.add_ip(local_addr4+'1/24') if args.ipv6: - i.add_ip(local_addr6+'1/24') + i.add_ip(local_addr6+'1/64') i.up() with ip.interfaces['tap'+args.ifname] as tap: