summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2007-07-17 20:58:26 +0000
committerRandall Stewart <rrs@FreeBSD.org>2007-07-17 20:58:26 +0000
commit18e198d3a3c55602a662375fdad5e83bef8bed93 (patch)
tree6c79e4122192f2fc2cd2730d66ed9af4e467112a /sys/netinet6
parent928e6222fde7f19a9290c5e316e52bfb1464d40f (diff)
Notes
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/sctp6_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c
index 9e93755a65f4..fd8db0f9baf0 100644
--- a/sys/netinet6/sctp6_usrreq.c
+++ b/sys/netinet6/sctp6_usrreq.c
@@ -614,7 +614,7 @@ sctp6_bind(struct socket *so, struct sockaddr *addr, struct thread *p)
in6_sin6_2_sin(&sin, sin6_p);
inp6->inp_vflag |= INP_IPV4;
inp6->inp_vflag &= ~INP_IPV6;
- error = sctp_inpcb_bind(so, (struct sockaddr *)&sin, NULL, p);
+ error = sctp_inpcb_bind(so, (struct sockaddr *)&sin, p);
return error;
}
}
@@ -634,7 +634,7 @@ sctp6_bind(struct socket *so, struct sockaddr *addr, struct thread *p)
return EINVAL;
}
}
- error = sctp_inpcb_bind(so, addr, NULL, p);
+ error = sctp_inpcb_bind(so, addr, p);
return error;
}