commit | a2a79609c044d3ddb540671d5029a41c90c57251 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Thu May 12 15:34:24 2011 -0700 |
committer | Sage Weil <sage@newdream.net> | Thu May 19 11:25:05 2011 -0700 |
tree | 641da035ab11341e8e7e08fee7bf2fde8d6e0214 | |
parent | 04177882265bc5014300a631e7384f8fe6b6aa0f [diff] [blame] |
libceph: add missing breaks in addr_set_port Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c index 35c0000..78b55f4 100644 --- a/net/ceph/messenger.c +++ b/net/ceph/messenger.c
@@ -1073,8 +1073,10 @@ switch (ss->ss_family) { case AF_INET: ((struct sockaddr_in *)ss)->sin_port = htons(p); + break; case AF_INET6: ((struct sockaddr_in6 *)ss)->sin6_port = htons(p); + break; } }