Get ext. IP from UPnP, make sure addrMe IsRoutable() in version.
authorMatt Corallo <matt@bluematt.me>
Fri, 10 Feb 2012 03:41:42 +0000 (22:41 -0500)
committerLuke Dashjr <luke-jr+git@utopios.org>
Sun, 12 Feb 2012 02:25:35 +0000 (21:25 -0500)
commit888ac4e7a326986945ca91668c47a3d8fa981d49
tree7c1797cd38da7969bb8d8b7a09f598bbb09a6013
parent76e707a44e280e2b0e6df776d16a86df1002ff3b
Get ext. IP from UPnP, make sure addrMe IsRoutable() in version.

This fixes a potential bug where some NATs may replace the node's
interal IP with its external IP in version messages, causing
incorrect checksums when version messages begin being checksummed
on February 14, 2012.
src/net.cpp
src/net.h