File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3434# FreeBSD:
3535# ifconfig em0 1.1.1.1/32 alias && ifconfig wlan0 2.2.2.2/32 alias # to set up
3636# ifconfig em0 1.1.1.1 -alias && ifconfig wlan0 2.2.2.2 -alias # to remove it, after the test
37- ADDR1 = '1.1.1.1 '
38- ADDR2 = '2.2.2.2 '
37+ ADDR1 = '1.1.1.5 '
38+ ADDR2 = '1111:1111::5 '
3939
4040class BindPortDiscoverTest (BitcoinTestFramework ):
4141 def set_test_params (self ):
Original file line number Diff line number Diff line change 1919# Linux:
2020# First find your interfaces: ip addr show
2121# Then use your actual interface names (replace INTERFACE_NAME with yours):
22- # ip addr add 1.1.1.1/32 dev INTERFACE_NAME && ip addr add 2.2.2.2 /32 dev INTERFACE_NAME # to set up
23- # ip addr del 1.1.1.1/32 dev INTERFACE_NAME && ip addr del 2.2.2.2 /32 dev INTERFACE_NAME # to remove it
22+ # ip addr add 1.1.1.5 /32 dev INTERFACE_NAME # to set up
23+ # ip addr del 1.1.1.5 /32 dev INTERFACE_NAME # to remove it
2424# FreeBSD and MacOS:
25- # ifconfig INTERFACE_NAME 1.1.1.1 /32 alias # to set up
26- # ifconfig INTERFACE_NAME 1.1.1.1 -alias # to remove it, after the test
27- ADDR = '1.1.1.1 '
25+ # ifconfig INTERFACE_NAME 1.1.1.5 /32 alias # to set up
26+ # ifconfig INTERFACE_NAME 1.1.1.5 -alias # to remove it, after the test
27+ ADDR = '1.1.1.5 '
2828
2929# array of tuples [arguments, expected port in localaddresses]
3030EXPECTED = [
You can’t perform that action at this time.
0 commit comments