diff options
| author | Tony Luck <tony.luck@intel.com> | 2005-05-17 18:53:14 -0400 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2005-05-17 18:53:14 -0400 |
| commit | 325a479c4c110db278ef3361460a48c4093252cc (patch) | |
| tree | bcfbf4d0647d9442045639a5c19da59d55190e81 /net/sctp/ipv6.c | |
| parent | ebcc80c1b6629a445f7471cc1ddb48faf8a84e70 (diff) | |
| parent | 7f9eaedf894dbaa08c157832e9a6c9c03ffed1ed (diff) | |
Merge with temp tree to get David's gdb inferior calls patch
Diffstat (limited to 'net/sctp/ipv6.c')
| -rw-r--r-- | net/sctp/ipv6.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index e42c74e3ec1e..c9d9ea064734 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
| @@ -496,9 +496,7 @@ static void sctp_v6_inaddr_any(union sctp_addr *addr, unsigned short port) | |||
| 496 | /* Is this a wildcard address? */ | 496 | /* Is this a wildcard address? */ |
| 497 | static int sctp_v6_is_any(const union sctp_addr *addr) | 497 | static int sctp_v6_is_any(const union sctp_addr *addr) |
| 498 | { | 498 | { |
| 499 | int type; | 499 | return ipv6_addr_any(&addr->v6.sin6_addr); |
| 500 | type = ipv6_addr_type((struct in6_addr *)&addr->v6.sin6_addr); | ||
| 501 | return IPV6_ADDR_ANY == type; | ||
| 502 | } | 500 | } |
| 503 | 501 | ||
| 504 | /* Should this be available for binding? */ | 502 | /* Should this be available for binding? */ |
