summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-02-27 05:11:50 +0000
committeralfred <alfred@FreeBSD.org>2002-02-27 05:11:50 +0000
commit943268c4b59204c4da9bf59bbf7fe3e1f3c2db65 (patch)
treec6ce81d020eab76c7f9f10de4dbe2c69caba526c
parent06af0ea413027f68a73f78917924734560c1a9c7 (diff)
downloadFreeBSD-src-943268c4b59204c4da9bf59bbf7fe3e1f3c2db65.zip
FreeBSD-src-943268c4b59204c4da9bf59bbf7fe3e1f3c2db65.tar.gz
More IPV6 const fixes.
-rw-r--r--sys/netinet/tcp_subr.c2
-rw-r--r--sys/netinet/tcp_timewait.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 99b50a5..99b08c4 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1119,7 +1119,7 @@ tcp6_ctlinput(cmd, sa, d)
inc.inc_isipv6 = 1;
syncache_unreach(&inc, &th);
} else
- in6_pcbnotify(&tcb, sa, 0, (struct sockaddr *)sa6_src,
+ in6_pcbnotify(&tcb, sa, 0, (const struct sockaddr *)sa6_src,
0, cmd, notify);
}
#endif /* INET6 */
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 99b50a5..99b08c4 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -1119,7 +1119,7 @@ tcp6_ctlinput(cmd, sa, d)
inc.inc_isipv6 = 1;
syncache_unreach(&inc, &th);
} else
- in6_pcbnotify(&tcb, sa, 0, (struct sockaddr *)sa6_src,
+ in6_pcbnotify(&tcb, sa, 0, (const struct sockaddr *)sa6_src,
0, cmd, notify);
}
#endif /* INET6 */
OpenPOWER on IntegriCloud