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)
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
#if !defined(VERSION_H)
|
||||
#define VERSION_H
|
||||
|
||||
const char* VERSION = "20201101";
|
||||
const char* VERSION = "20201107";
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue