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; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"