# HG changeset patch # User Mychaela Falconia # Date 1684910786 0 # Node ID 8fc3b72eb2c68b010f5e9ef130ce9c38d33b41d8 # Parent ec5f51d33fdc3dbb92684e737e1fe0117f5697f7 rvinterf -vv TCH raw dump: write to log only if running with -l diff -r ec5f51d33fdc -r 8fc3b72eb2c6 rvinterf/lowlevel/format_fc.c --- a/rvinterf/lowlevel/format_fc.c Wed May 24 06:43:15 2023 +0000 +++ b/rvinterf/lowlevel/format_fc.c Wed May 24 06:46:26 2023 +0000 @@ -13,7 +13,7 @@ extern u_char rxpkt[]; extern size_t rxpkt_len; -extern void output_cont(); +extern void output_cont_logpref(); void print_ati_output() @@ -39,7 +39,7 @@ print_tch_output_raw() { output_line("Rx TCH packet"); - packet_hex_dump(rxpkt, (unsigned) rxpkt_len, output_cont); + packet_hex_dump(rxpkt, (unsigned) rxpkt_len, output_cont_logpref); } void diff -r ec5f51d33fdc -r 8fc3b72eb2c6 rvinterf/lowlevel/logsent.c --- 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(); }