Handle terminal IP changes - bugfix of bugfix

pull/127/head
Marius Petrescu, YO2LOJ 7 years ago committed by GitHub
parent 0edde6751e
commit 6561d1ad9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -201,6 +201,8 @@ void CG3Protocol::PresenceTask(void)
if (extant == NULL)
{
index = -1;
// do we already have a client with the same call (IP changed)?
while ( (extant = clients->FindNextClient(PROTOCOL_G3, &index)) != NULL )
{
@ -222,7 +224,6 @@ void CG3Protocol::PresenceTask(void)
}
else
{
index = -1;
// client changed callsign
if (!extant->GetCallsign().HasSameCallsign(Terminal))
{

Loading…
Cancel
Save

Powered by TurnKey Linux.