mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Only print statistics in verbose mode
This commit is contained in:
parent
0b2207bcb3
commit
38751bfcd6
1 changed files with 6 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue