Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251310
b: refs/heads/master
c: a2a7960
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed May 19, 2011
1 parent 6aea163 commit 6805e08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04177882265bc5014300a631e7384f8fe6b6aa0f
refs/heads/master: a2a79609c044d3ddb540671d5029a41c90c57251
2 changes: 2 additions & 0 deletions trunk/net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,10 @@ static void addr_set_port(struct sockaddr_storage *ss, int p)
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;
}
}

Expand Down

0 comments on commit 6805e08

Please sign in to comment.