From cc57d49c0e12352b789e19d8c4a9560b1caf03df Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Fri, 22 May 2020 20:18:59 -0400 Subject: [PATCH] Print repeaters more sensibly in src/decode.c --- src/decode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/decode.c b/src/decode.c index 114aac6..f9c33ca 100644 --- a/src/decode.c +++ b/src/decode.c @@ -36,14 +36,16 @@ static int address_fprint(FILE *stream, const patty_ax25_frame *frame) { int i; callsign_fprint(stream, &frame->src); + fprintf(stream, " > "); - callsign_fprint(stream, &frame->dest); for (i=0; ihops; i++) { - fprintf(stream, " < "); callsign_fprint(stream, &frame->repeaters[i]); + fprintf(stream, " > "); } + callsign_fprint(stream, &frame->dest); + return 0; }