Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39986
b: refs/heads/master
c: b7766da
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Lever authored and Linus Torvalds committed Oct 20, 2006
1 parent b4f7c68 commit d120581
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 71bdcf8056f910dc57ea3d0def80a9329e7dc52d
refs/heads/master: b7766da7f7395b74dec9e52005b7dac0d09391a4
2 changes: 1 addition & 1 deletion trunk/net/sunrpc/xprtsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ int xs_setup_udp(struct rpc_xprt *xprt, struct rpc_timeout *to)
if (xprt->slot == NULL)
return -ENOMEM;

if (ntohs(addr->sin_port != 0))
if (ntohs(addr->sin_port) != 0)
xprt_set_bound(xprt);
xprt->port = xs_get_random_port();

Expand Down

0 comments on commit d120581

Please sign in to comment.