mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-04 13:57:43 +00:00
Fix crash.
This commit is contained in:
parent
e7503907df
commit
3fd09f49f9
2 changed files with 2 additions and 2 deletions
|
|
@ -546,7 +546,7 @@ int CDGIdGateway::run()
|
|||
nPips = 0U;
|
||||
}
|
||||
|
||||
if (dgIdNetwork[currentDGId] != NULL) {
|
||||
if (currentDGId != UNSET_DGID && dgIdNetwork[currentDGId] != NULL) {
|
||||
DGID_STATUS netState = dgIdNetwork[currentDGId]->getStatus();
|
||||
bool statc = dgIdNetwork[currentDGId]->m_static;
|
||||
if (fromRF && state != DS_LINKED && netState != DS_LINKED && statc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue