Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186356
b: refs/heads/master
c: 205ba42
h: refs/heads/master
v: v3
  • Loading branch information
Aime Le Rouzic authored and J. Bruce Fields committed Jan 26, 2010
1 parent d11fe7b commit a414910
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: 07396051a5c6901693a97e35cb731a01b0b348e4
refs/heads/master: 205ba42308729f4f41f21d314a4435e7de5c9a2e
2 changes: 1 addition & 1 deletion trunk/net/sunrpc/svcsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ int svc_addsock(struct svc_serv *serv, const int fd, char *name_return,

if (!so)
return err;
if (so->sk->sk_family != AF_INET)
if ((so->sk->sk_family != PF_INET) && (so->sk->sk_family != PF_INET6))
err = -EAFNOSUPPORT;
else if (so->sk->sk_protocol != IPPROTO_TCP &&
so->sk->sk_protocol != IPPROTO_UDP)
Expand Down

0 comments on commit a414910

Please sign in to comment.