aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-12-18 22:07:31 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-03-06 17:21:58 +0100
commitaac320537523f1df1523adeba22a8498884715c9 (patch)
tree8fff77336fa1a0b79090de8d9da288e7743303d1 /qa
parent01f9c3449a88748722dd51c7b54305fd1ba87359 (diff)
src/netbase.h: Fix endian in CNetAddr serialization
We've chosen to htons/ntohs explicitly on reading and writing (I do not know why). But as READWRITE already does an endian swap on big endian, this means the port number gets switched around, which was what we were trying to avoid in the first place. So to make this compatible, serialize it as FLATDATA.
Diffstat (limited to 'qa')
0 files changed, 0 insertions, 0 deletions