Print repeaters more sensibly in src/decode.c
This commit is contained in:
parent
b44a6789a8
commit
cc57d49c0e
1 changed files with 4 additions and 2 deletions
|
@ -36,14 +36,16 @@ static int address_fprint(FILE *stream, const patty_ax25_frame *frame) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
callsign_fprint(stream, &frame->src);
|
callsign_fprint(stream, &frame->src);
|
||||||
|
|
||||||
fprintf(stream, " > ");
|
fprintf(stream, " > ");
|
||||||
callsign_fprint(stream, &frame->dest);
|
|
||||||
|
|
||||||
for (i=0; i<frame->hops; i++) {
|
for (i=0; i<frame->hops; i++) {
|
||||||
fprintf(stream, " < ");
|
|
||||||
callsign_fprint(stream, &frame->repeaters[i]);
|
callsign_fprint(stream, &frame->repeaters[i]);
|
||||||
|
fprintf(stream, " > ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
callsign_fprint(stream, &frame->dest);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue