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)
committerMatt Corallo <matt@bluematt.me>
Fri, 10 Feb 2012 05:54:11 +0000 (00:54 -0500)
commitbaba6e7de28940a8f4cc907d57d2ea5b780d39ea
tree04bce51d6b43395f40c54bc918156652f7e38dea
parent328b26d40b2ea046144a487a6b4927a630e91fb9
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