Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188606
b: refs/heads/master
c: f28bcfb
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed Nov 5, 2009
1 parent 07d3fd6 commit 85e1207
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a18be16f7513ea8a4923c161ce073987932cbdb
refs/heads/master: f28bcfbe660a3246621a367020054d4f1a179cd9
4 changes: 2 additions & 2 deletions trunk/fs/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -891,9 +891,9 @@ static int addr_port(struct sockaddr_storage *ss)
{
switch (ss->ss_family) {
case AF_INET:
return ((struct sockaddr_in *)ss)->sin_port;
return ntohs(((struct sockaddr_in *)ss)->sin_port);
case AF_INET6:
return ((struct sockaddr_in6 *)ss)->sin6_port;
return ntohs(((struct sockaddr_in6 *)ss)->sin6_port);
}
return 0;
}
Expand Down

0 comments on commit 85e1207

Please sign in to comment.