mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2025-12-06 05:32:00 +01:00
Fix TG9 handling on rewrite
This commit is contained in:
parent
9a90852566
commit
ce74a799c1
|
|
@ -217,8 +217,8 @@ unsigned int DMRAccessControl::DstIdRewrite (unsigned int did, unsigned int sid,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (did == 9 && (m_time + m_callHang) > currenttime) {
|
if (did == 9 && m_dstRewriteID != 9 && (m_time + m_callHang) > currenttime) {
|
||||||
LogMessage("DMR Slot %u, Rewrite DST ID (TG) of outbound network traffic from %u to %u (return traffic during CallHang)",slot,sid,m_dstRewriteID);
|
LogMessage("DMR Slot %u, Rewrite DST ID (TG) of outbound network traffic from %u to %u (return traffic during CallHang)",slot,did,m_dstRewriteID);
|
||||||
return(m_dstRewriteID);
|
return(m_dstRewriteID);
|
||||||
} else {
|
} else {
|
||||||
return(0);
|
return(0);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue