I'm using current master with own modifications to the code as a testing playground (I did not change any IPv6 networking code), just pull #1615 is somehow net-related.
When doing a full blockchain download with -onlynet="IPv6", I get the following exception:
<pre> ************************ EXCEPTION: St12out_of_range CInv::GetCommand() : type=3 unknown type C:\Users\Diapolo\bitcoin.Qt\release\bitcoin-qt.exe in ProcessMessages() </pre>
Part of the log before shows always this:
<pre> received: inv (73 bytes) </pre>
Afterwards this is always the same:
<pre> ProcessMessage(inv, 73 bytes) FAILED </pre>
Most messages show inv, 73 bytes, only some are with different sizes (4285 bytes, 325 bytes and 37 bytes). The first occurence is at block height=48000, then height=64688, height=84688, height=116771 ... (~25 exceptions until the chain is up to date).
When doing the same initial blockchain download (just wallet.dat in datadir) with -onlynet="IPv4" not a single of these exceptions occurs, which leads me to believe there is a glitch in the IPv6 code or a strange behaving IPv6 node I'm connected to.