diff options
author | cperciva <cperciva@FreeBSD.org> | 2010-06-04 14:38:24 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2010-06-04 14:38:24 +0000 |
commit | 4adc6d09d8a4624249d88fb1902b3c3881b0f716 (patch) | |
tree | 216048db2646e57ef5a377f71772044c2d36ef17 /sys/kern/kern_jail.c | |
parent | 03bbab0211bd84c67437672954ff398df7ace2f2 (diff) | |
download | FreeBSD-src-4adc6d09d8a4624249d88fb1902b3c3881b0f716.zip FreeBSD-src-4adc6d09d8a4624249d88fb1902b3c3881b0f716.tar.gz |
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
Diffstat (limited to 'sys/kern/kern_jail.c')
-rw-r--r-- | sys/kern/kern_jail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index d419833..ded2379 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -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; |