mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-07 15:34:01 +00:00
Modify Type Rewrite to handle BM Echo.
This commit is contained in:
parent
f3c95d6618
commit
c2bcec4a59
6 changed files with 25 additions and 26 deletions
8
Conf.cpp
8
Conf.cpp
|
|
@ -242,9 +242,9 @@ bool CConf::read()
|
|||
if (p1 != NULL && p2 != NULL && p3 != NULL && p4 != NULL) {
|
||||
CTypeRewriteStruct rewrite;
|
||||
rewrite.m_fromSlot = ::atoi(p1);
|
||||
rewrite.m_fromId = ::atoi(p2);
|
||||
rewrite.m_fromTG = ::atoi(p2);
|
||||
rewrite.m_toSlot = ::atoi(p3);
|
||||
rewrite.m_toTG = ::atoi(p4);
|
||||
rewrite.m_toId = ::atoi(p4);
|
||||
m_dmrNetwork1TypeRewrites.push_back(rewrite);
|
||||
}
|
||||
} else if (::strcmp(key, "SrcRewrite") == 0) {
|
||||
|
|
@ -318,9 +318,9 @@ bool CConf::read()
|
|||
if (p1 != NULL && p2 != NULL && p3 != NULL && p4 != NULL) {
|
||||
CTypeRewriteStruct rewrite;
|
||||
rewrite.m_fromSlot = ::atoi(p1);
|
||||
rewrite.m_fromId = ::atoi(p2);
|
||||
rewrite.m_fromTG = ::atoi(p2);
|
||||
rewrite.m_toSlot = ::atoi(p3);
|
||||
rewrite.m_toTG = ::atoi(p4);
|
||||
rewrite.m_toId = ::atoi(p4);
|
||||
m_dmrNetwork2TypeRewrites.push_back(rewrite);
|
||||
}
|
||||
} else if (::strcmp(key, "SrcRewrite") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue