Date: Fri, 4 Jun 2010 14:38:24 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r208803 - head/sys/kern Message-ID: <201006041438.o54EcO3a029449@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cperciva Date: Fri Jun 4 14:38:24 2010 New Revision: 208803 URL: http://svn.freebsd.org/changeset/base/208803 Log: Declare ip6 as (struct in6_addr *) instead of (struct in_addr *). This is a harmless bug since we never actually use ip6 as anything other than an opaque pointer. Found with: Coverty Prevent(tm) CID: 4319 MFC after: 1 month Modified: head/sys/kern/kern_jail.c Modified: head/sys/kern/kern_jail.c ============================================================================== --- head/sys/kern/kern_jail.c Fri Jun 4 14:22:49 2010 (r208802) +++ head/sys/kern/kern_jail.c Fri Jun 4 14:38:24 2010 (r208803) @@ -3941,7 +3941,7 @@ sysctl_jail_list(SYSCTL_HANDLER_ARGS) int ip4s = 0; #endif #ifdef INET6 - struct in_addr *ip6 = NULL; + struct in6_addr *ip6 = NULL; int ip6s = 0; #endif int descend, error;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006041438.o54EcO3a029449>