From 8f01ab1cd42cf65b94eb0e82f126be5a2cf94538 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Fri, 18 Sep 2020 14:34:50 -0500 Subject: [PATCH] Make patty_print_header() use TNC2 format Make patty_print_header() use TNC2 format for representing source, destination and repeater addresses --- src/print.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/print.c b/src/print.c index 6e62b1c..245fb91 100644 --- a/src/print.c +++ b/src/print.c @@ -65,13 +65,13 @@ static int print_frame_addrs(FILE *fh, const patty_ax25_frame *frame) { fprintf(fh, ">"); - for (i=0; ihops; i++) { - print_addr(fh, &frame->repeaters[i]); - fprintf(fh, ">"); - } - print_addr(fh, &frame->dest); + for (i=0; ihops; i++) { + fprintf(fh, ","); + print_addr(fh, &frame->repeaters[i]); + } + return 0; }