clear flag[0] 0x40 from AP mode

pull/5/head
Tom Early 7 years ago
parent d0a66ab86c
commit 9ed8750653

@ -2088,7 +2088,7 @@ void CQnetGateway::process()
}
if (bool_qso_details && rptrbuf.vpkt.ctrl&0x40)
printf("id=%04x, cntr=%04x END RPTR\n", ntohs(rptrbuf.vpkt.streamid), ntohs(rptrbuf.counter));
printf("id=%04x cntr=%04x END RPTR\n", ntohs(rptrbuf.vpkt.streamid), ntohs(rptrbuf.counter));
}
}
}

@ -492,6 +492,7 @@ bool CQnetITAP::ProcessITAP(const unsigned char *buf)
memcpy(dstr.vpkt.hdr.r1, itap.header.r1, 8);
memcpy(dstr.vpkt.hdr.r2, itap.header.r2, 8);
memcpy(dstr.vpkt.hdr.ur, itap.header.ur, 8);
dstr.vpkt.hdr.flag[0] &= ~0x40U; // clear this bit
}
memcpy(dstr.vpkt.hdr.my, itap.header.my, 8);

Loading…
Cancel
Save

Powered by TurnKey Linux.