aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_usrreq.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2012-02-18 16:06:15 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2012-02-18 16:06:15 +0000
commit310a027788f0ab0eb11b118fd29daac4988d3315 (patch)
treee3183ffc6a872dfde2fc62665a6f394b67d74675 /sys/netinet/sctp_usrreq.c
parent107fdf9681e8c82f95a1d2be6159ba61ad408ec8 (diff)
downloadsrc-310a027788f0ab0eb11b118fd29daac4988d3315.tar.gz
src-310a027788f0ab0eb11b118fd29daac4988d3315.zip
Notes
Diffstat (limited to 'sys/netinet/sctp_usrreq.c')
-rw-r--r--sys/netinet/sctp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c
index c08872c73870..fe82da3bfed9 100644
--- a/sys/netinet/sctp_usrreq.c
+++ b/sys/netinet/sctp_usrreq.c
@@ -6357,7 +6357,7 @@ sctp_ingetaddr(struct socket *so, struct sockaddr **addr)
int
sctp_peeraddr(struct socket *so, struct sockaddr **addr)
{
- struct sockaddr_in *sin = (struct sockaddr_in *)*addr;
+ struct sockaddr_in *sin;
int fnd;
struct sockaddr_in *sin_a;
struct sctp_inpcb *inp;