Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sbin/ping6/ping6.c,v rcsdiff: /ftp/cvs/cvsroot/src/sbin/ping6/ping6.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.49 retrieving revision 1.50 diff -u -p -r1.49 -r1.50 --- src/sbin/ping6/ping6.c 2002/09/21 18:33:51 1.49 +++ src/sbin/ping6/ping6.c 2002/09/23 12:52:30 1.50 @@ -1,4 +1,4 @@ -/* $NetBSD: ping6.c,v 1.49 2002/09/21 18:33:51 mycroft Exp $ */ +/* $NetBSD: ping6.c,v 1.50 2002/09/23 12:52:30 itojun Exp $ */ /* $KAME: ping6.c,v 1.160 2002/09/08 14:28:18 itojun Exp $ */ /* @@ -81,7 +81,7 @@ static char sccsid[] = "@(#)ping.c 8.1 ( #else #include #ifndef lint -__RCSID("$NetBSD: ping6.c,v 1.49 2002/09/21 18:33:51 mycroft Exp $"); +__RCSID("$NetBSD: ping6.c,v 1.50 2002/09/23 12:52:30 itojun Exp $"); #endif #endif @@ -1076,8 +1076,9 @@ main(argc, argv) if (options & F_FLOOD) { (void)pinger(); timeout = 10; - } else + } else { timeout = INFTIM; + } fdmaskp[0].fd = s; fdmaskp[0].events = POLLIN; cc = poll(fdmaskp, 1, timeout);