Skip to content
Commit 63f2d211 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: use fixed endian encoding for ceph_entity_addr



We exchange struct ceph_entity_addr over the wire and store it on disk.
The sockaddr_storage.ss_family field, however, is host endianness.  So,
fix ss_family endianness to big endian when sending/receiving over the
wire.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 859e7b14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment