FreeCalypso > hg > freecalypso-tools
diff rvinterf/lowlevel/logsent.c @ 941:8fc3b72eb2c6
rvinterf -vv TCH raw dump: write to log only if running with -l
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 24 May 2023 06:46:26 +0000 |
parents | bd6dd6120180 |
children | fab04df64690 |
line wrap: on
line diff
--- a/rvinterf/lowlevel/logsent.c Wed May 24 06:43:15 2023 +0000 +++ b/rvinterf/lowlevel/logsent.c Wed May 24 06:46:26 2023 +0000 @@ -13,6 +13,7 @@ extern FILE *logF; extern void output_cont(); +extern void output_cont_logpref(); static void log_sent_ati(pkt, pktlen) @@ -55,7 +56,7 @@ case RVT_TCH_HEADER: if (verbose >= 2) { output_line("Sent TCH packet"); - packet_hex_dump(pkt, pktlen, output_cont); + packet_hex_dump(pkt, pktlen, output_cont_logpref); } else { tch_inc_count_tx(); }