Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186131
b: refs/heads/master
c: 7a88efe
h: refs/heads/master
i:
  186129: 643305a
  186127: ec74595
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Feb 10, 2010
1 parent 6703416 commit 49908af
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: f1a89a118299df9e5afbaaedf83e5709a28632b6
refs/heads/master: 7a88efe9760de3bc75bde61b0a4c56dbb6cf2494
2 changes: 2 additions & 0 deletions trunk/net/sunrpc/addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ static size_t rpc_ntop6(const struct sockaddr *sap,

if (!(ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL))
return len;
if (sin6->sin6_scope_id == 0)
return len;

rc = snprintf(scopebuf, sizeof(scopebuf), "%c%u",
IPV6_SCOPE_DELIMITER, sin6->sin6_scope_id);
Expand Down

0 comments on commit 49908af

Please sign in to comment.