summaryrefslogtreecommitdiff
path: root/src/base/Graphics.py
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-10-28 00:36:13 -0700
committerGabe Black <gabeblack@google.com>2017-10-30 22:15:45 +0000
commit44896ba35b0874b9925ebd7927e196d0eb639b5e (patch)
tree0b6ff0b54dc9cf2ff75ee7291e21908a3f0fb67b /src/base/Graphics.py
parente79c4c6f033581f84072ddb45d2ec9543c31af55 (diff)
downloadgem5-44896ba35b0874b9925ebd7927e196d0eb639b5e.tar.xz
base: Fix forcing loopback only binding for listeners.
Despite online documentation, the type used for sin_addr.s_addr is not actually an unsigned long, it is an in_addr_t. When an unsigned long is a 64 bit value, the endian conversion moves the relevant bits of the 32 bit in_addr_t to positions which are truncated away. This forces the value to 0 which means to bind to any interface, the opposite of the intended effect. Change-Id: I53c63dea6bd88144dfef1a9a49b478fab30a8ba2 Reviewed-on: https://gem5-review.googlesource.com/5301 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/base/Graphics.py')
0 files changed, 0 insertions, 0 deletions