From 60d9b32e44fb345a841cdddafa36fac89e29c871 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Wed, 27 Feb 2002 05:11:50 +0000 Subject: [PATCH] More IPV6 const fixes. --- sys/netinet/tcp_subr.c | 2 +- sys/netinet/tcp_timewait.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 99b50a5799c0..99b08c482581 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 99b50a5799c0..99b08c482581 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 */