Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 no need to bzero() twice. from he@netbsd
details: https://anonhg.NetBSD.org/src/rev/5b0fc834fcc6
branches: trunk
changeset: 534033:5b0fc834fcc6
user: itojun <itojun%NetBSD.org@localhost>
date: Sat Jul 13 21:04:55 2002 +0000
description:
no need to bzero() twice. from he@netbsd
diffstat:
sys/netinet6/nd6_rtr.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r c5c86a784557 -r 5b0fc834fcc6 sys/netinet6/nd6_rtr.c
--- a/sys/netinet6/nd6_rtr.c Sat Jul 13 20:54:57 2002 +0000
+++ b/sys/netinet6/nd6_rtr.c Sat Jul 13 21:04:55 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6_rtr.c,v 1.33 2002/06/09 14:43:14 itojun Exp $ */
+/* $NetBSD: nd6_rtr.c,v 1.34 2002/07/13 21:04:55 itojun Exp $ */
/* $KAME: nd6_rtr.c,v 1.95 2001/02/07 08:09:47 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.33 2002/06/09 14:43:14 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.34 2002/07/13 21:04:55 itojun Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -257,7 +257,6 @@
long time_second = time.tv_sec;
Bzero(&dr0, sizeof(dr0));
- Bzero(&dr0, sizeof(dr0));
dr0.rtaddr = saddr6;
dr0.flags = nd_ra->nd_ra_flags_reserved;
dr0.rtlifetime = ntohs(nd_ra->nd_ra_router_lifetime);
Home |
Main Index |
Thread Index |
Old Index