diff options
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index 8e2b1e4ec66e..268d32c89594 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -478,7 +478,7 @@ static int sctp_v6_cmp_addr(const union sctp_addr *addr1, | |||
478 | } | 478 | } |
479 | 479 | ||
480 | /* Initialize addr struct to INADDR_ANY. */ | 480 | /* Initialize addr struct to INADDR_ANY. */ |
481 | static void sctp_v6_inaddr_any(union sctp_addr *addr, unsigned short port) | 481 | static void sctp_v6_inaddr_any(union sctp_addr *addr, __be16 port) |
482 | { | 482 | { |
483 | memset(addr, 0x00, sizeof(union sctp_addr)); | 483 | memset(addr, 0x00, sizeof(union sctp_addr)); |
484 | addr->v6.sin6_family = AF_INET6; | 484 | addr->v6.sin6_family = AF_INET6; |