]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/msg_types: fix the dencoder of entity_addr_t 26042/head
authorKefu Chai <kchai@redhat.com>
Wed, 13 Sep 2017 09:21:38 +0000 (17:21 +0800)
committerMykola Golub <mgolub@suse.com>
Sat, 19 Jan 2019 16:15:45 +0000 (18:15 +0200)
commitee94cf482386f1a12d2e5e8af513a72f9a377169
tree1f634b57d5cc6055d2eaeb3283061cdbeed26b68
parentd174210f7e9c56f6ea85993863f11d4f84c6a9c3
msg/msg_types: fix the dencoder of entity_addr_t

improve the interoperability between freebsd/osx and GNU/Linux, because
the their layouts of sockaddr_storage are different, and we use the
one of linux as the wire format. so need to convert it on freebsd/osx
side.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 9099ca599de5238cde917f1e1f933247392de03e)
src/msg/msg_types.h