Commit 254023e7 authored by rswindell's avatar rswindell
Browse files

Display the origination point number in the packet header for 2+ packet types.

parent 7421a944
......@@ -90,8 +90,10 @@ int pktdump(FILE* fp, const char* fname)
&& pkthdr.fill.two_plus.cword&1) {
fprintf(stdout,"2+");
dest.point=pkthdr.fill.two_plus.destpoint;
if(orig.net==0xffff) /* see FSC-0048 for details */
if(pkthdr.fill.two_plus.origpoint!=0 && orig.net==0xffff) { /* see FSC-0048 for details */
orig.net=pkthdr.fill.two_plus.auxnet;
orig.point=pkthdr.fill.two_plus.origpoint;
}
} else if(pkthdr.baud==2) { /* Type 2.2 Packet Header */
fprintf(stdout,"2.2");
dest.point=pkthdr.month;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment