bitcoin/bitcoin — pull request #1477 by gmaxwell (2012-06-17 16:16:10+00:00)
Title: Fix inverted logic for !Discover/!UPNP when !Listen.

The code which soft disabled address discovery/upnp when not listening was instead disabling it when listening.