Make patty_print_header() use TNC2 format
Make patty_print_header() use TNC2 format for representing source, destination and repeater addresses
This commit is contained in:
parent
77bb1bf030
commit
8f01ab1cd4
1 changed files with 5 additions and 5 deletions
10
src/print.c
10
src/print.c
|
@ -65,13 +65,13 @@ static int print_frame_addrs(FILE *fh, const patty_ax25_frame *frame) {
|
|||
|
||||
fprintf(fh, ">");
|
||||
|
||||
for (i=0; i<frame->hops; i++) {
|
||||
print_addr(fh, &frame->repeaters[i]);
|
||||
fprintf(fh, ">");
|
||||
}
|
||||
|
||||
print_addr(fh, &frame->dest);
|
||||
|
||||
for (i=0; i<frame->hops; i++) {
|
||||
fprintf(fh, ",");
|
||||
print_addr(fh, &frame->repeaters[i]);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue