bitcoin/bitcoin — pull request #2089 by Diapolo (2012-12-10 18:20:25+00:00)
Title: honor blocked networks (-onlynet="XXX") with inbound connections

- current code, when set e.g. -onlynet="IPv6", only prevents outgoing
connections to peers via the blocked networks (in this example IPv4/ Tor)
- this patch extends the behaviour to inbound connections, so when e.g.
-onlynet="IPv6", don't allow incoming IPv4/Tor connections from peers