Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333057
b: refs/heads/master
c: cea0b4c
h: refs/heads/master
i:
  333055: ab37790
v: v3
  • Loading branch information
Christoph Hellwig authored and Nicholas Bellinger committed Oct 2, 2012
1 parent 9c2c868 commit 9c40600
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: 904753da183566c71211d23c169a80184648c121
refs/heads/master: cea0b4ceec5d09330fd80c0185532a502db9c2b7
2 changes: 1 addition & 1 deletion trunk/drivers/target/iscsi/iscsi_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -3239,7 +3239,7 @@ static bool iscsit_check_inaddr_any(struct iscsi_np *np)
struct sockaddr_in * sock_in =
(struct sockaddr_in *)&np->np_sockaddr;

if (sock_in->sin_addr.s_addr == INADDR_ANY)
if (sock_in->sin_addr.s_addr == htonl(INADDR_ANY))
ret = true;
}

Expand Down

0 comments on commit 9c40600

Please sign in to comment.