mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
[SCTP]: Annotate ->inaddr_any().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c9c938cb05
commit
6fbfa9f951
4 changed files with 4 additions and 4 deletions
|
@ -338,7 +338,7 @@ static int sctp_v4_cmp_addr(const union sctp_addr *addr1,
|
|||
}
|
||||
|
||||
/* Initialize addr struct to INADDR_ANY. */
|
||||
static void sctp_v4_inaddr_any(union sctp_addr *addr, unsigned short port)
|
||||
static void sctp_v4_inaddr_any(union sctp_addr *addr, __be16 port)
|
||||
{
|
||||
addr->v4.sin_family = AF_INET;
|
||||
addr->v4.sin_addr.s_addr = INADDR_ANY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue