1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

Only print statistics in verbose mode

This commit is contained in:
Paul Traina 1996-02-03 06:33:23 +00:00
parent 0b2207bcb3
commit 38751bfcd6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13875

View File

@ -904,11 +904,12 @@ finish(sig)
ntransmitted++;
advertise(&whereto);
}
logtrace("\n----%s rdisc Statistics----\n", sendaddress );
logtrace("%d packets transmitted, ", ntransmitted );
logtrace("%d packets received, ", nreceived );
logtrace("\n");
(void) fflush(stdout);
if (verbose) {
logtrace("\n----%s rdisc Statistics----\n", sendaddress );
logtrace("%d packets transmitted, ", ntransmitted );
logtrace("%d packets received, ", nreceived );
(void) fflush(stdout);
}
exit(0);
}