Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rtadvd Remove debug stuff.
details: https://anonhg.NetBSD.org/src/rev/300fa617e091
branches: trunk
changeset: 783286:300fa617e091
user: roy <roy%NetBSD.org@localhost>
date: Thu Dec 13 15:40:05 2012 +0000
description:
Remove debug stuff.
diffstat:
usr.sbin/rtadvd/rtadvd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r b6f0ce35a2ae -r 300fa617e091 usr.sbin/rtadvd/rtadvd.c
--- a/usr.sbin/rtadvd/rtadvd.c Thu Dec 13 15:36:35 2012 +0000
+++ b/usr.sbin/rtadvd/rtadvd.c Thu Dec 13 15:40:05 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtadvd.c,v 1.39 2012/12/13 15:36:36 roy Exp $ */
+/* $NetBSD: rtadvd.c,v 1.40 2012/12/13 15:40:05 roy Exp $ */
/* $KAME: rtadvd.c,v 1.92 2005/10/17 14:40:02 suz Exp $ */
/*
@@ -364,9 +364,10 @@
for (i = 0; i < retrans; i++) {
TAILQ_FOREACH(rai, &ralist, next)
ra_output(rai);
- //sleep(MIN_DELAY_BETWEEN_RAS);
+ sleep(MIN_DELAY_BETWEEN_RAS);
}
+#ifdef __VALGRIND__
while ((rai = TAILQ_FIRST(&ralist))) {
TAILQ_REMOVE(&ralist, rai, next);
if (rai->leaving)
@@ -375,6 +376,7 @@
}
free(rcvcmsgbuf);
free(sndcmsgbuf);
+#endif
exit(0);
/*NOTREACHED*/
Home |
Main Index |
Thread Index |
Old Index