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; }