diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-02-14 10:34:32 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-02-14 10:34:32 +0000 |
commit | 3e98e50cc8096e40fe7e70bc6bf7f241286fba57 (patch) | |
tree | 687cd7b52b1b2861c69b4c903ddfd14cb4e9ce40 /sys/netinet6/in6.c | |
parent | a8fb895d0ee4f9d673d9e029b22bdc3950e76723 (diff) |
Fix pasto: clear correct buffer, from James Juran via NetBSD. ok markus@
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r-- | sys/netinet6/in6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index 21a571257f8..89f4f33b0b5 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.61 2005/09/19 19:36:49 brad Exp $ */ +/* $OpenBSD: in6.c,v 1.62 2006/02/14 10:34:31 otto Exp $ */ /* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */ /* @@ -549,7 +549,7 @@ in6_control(so, cmd, data, ifp, p) case SIOCGIFSTAT_ICMP6: if (ifp == NULL) return EINVAL; - bzero(&ifr->ifr_ifru.ifru_stat, + bzero(&ifr->ifr_ifru.ifru_icmp6stat, sizeof(ifr->ifr_ifru.ifru_icmp6stat)); ifr->ifr_ifru.ifru_icmp6stat = *((struct in6_ifextra *)ifp->if_afdata[AF_INET6])->icmp6_ifstat; |