Module Name: src Committed By: roy Date: Thu Dec 13 15:40:06 UTC 2012
Modified Files: src/usr.sbin/rtadvd: rtadvd.c Log Message: Remove debug stuff. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/rtadvd/rtadvd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/rtadvd/rtadvd.c diff -u src/usr.sbin/rtadvd/rtadvd.c:1.39 src/usr.sbin/rtadvd/rtadvd.c:1.40 --- src/usr.sbin/rtadvd/rtadvd.c:1.39 Thu Dec 13 15:36:36 2012 +++ src/usr.sbin/rtadvd/rtadvd.c Thu Dec 13 15:40:05 2012 @@ -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 @@ die(void) 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 @@ die(void) } free(rcvcmsgbuf); free(sndcmsgbuf); +#endif exit(0); /*NOTREACHED*/