do not use external IPv4 discovery, when -onlynet="IPv6" #1615

pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:net_noExtIp_IPv6only changing 1 files +3 −1
  1. Diapolo commented at 10:21 AM on July 20, 2012: none

    No description provided.

  2. do not use external IPv4 discovery, when -onlynet="IPv6" a76552ce47
  3. in src/net.cpp:None in cfb47ab0ea outdated
    1877 | @@ -1878,7 +1878,9 @@ void static Discover()
    1878 |      }
    1879 |  #endif
    1880 |  
    1881 | -    CreateThread(ThreadGetMyExternalIP, NULL);
    1882 | +    // Don't use external IPv4 discovery, when -onlynet="IPv6"
    1883 | +    if (IsLimited(NET_IPV6))
    


    laanwj commented at 10:53 AM on July 20, 2012:

    Shouldn't this be !IsLimited(NET_IPV4) ?


    Diapolo commented at 11:21 AM on July 20, 2012:

    Sometimes I should think a bit longer and pull a bit slower ^^.

  4. jgarzik commented at 2:50 PM on July 20, 2012: contributor

    ACK

  5. gmaxwell referenced this in commit f00ffc6c00 on Jul 25, 2012
  6. gmaxwell merged this on Jul 25, 2012
  7. gmaxwell closed this on Jul 25, 2012

  8. suprnurd referenced this in commit 9707ca5cea on Dec 5, 2017
  9. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me