From b11992736cb159bdaaf19d498687b449f44120b8 Mon Sep 17 00:00:00 2001 From: Jan Willamowius Date: Mon, 25 May 2020 23:36:22 +0200 Subject: [PATCH] set altGKisPermanent=true when redirecting endpoints --- RasSrv.h | 2 +- changes.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RasSrv.h b/RasSrv.h index 4f8a97ce..e5c453de 100644 --- a/RasSrv.h +++ b/RasSrv.h @@ -206,7 +206,7 @@ class RasServer : public Singleton, public SocketsReader { if (alternates.GetSize() > 0) { // add alternates by IP ras.IncludeOptionalField(RAS::e_altGKInfo); - ras.m_altGKInfo.m_altGKisPermanent = (redirectGK == e_permanentRedirect); + ras.m_altGKInfo.m_altGKisPermanent = true; // not just for this message ras.m_altGKInfo.m_alternateGatekeeper = alternates; } else if (altGKs.GetSize() > 0) { // use global configuration diff --git a/changes.txt b/changes.txt index 3c3cf930..4df91426 100644 --- a/changes.txt +++ b/changes.txt @@ -1,5 +1,6 @@ Changes from 5.4 to 5.5 ======================= +- BUGFIX(RasSrv.h) set altGKisPermanent=true when redirecting endpoints - BUGFIX(RasSrv.cxx) fix RRJ to include alternates when RedirectGK=Endpoints limit is reached - manual translated into Simplified Chinese by Zhang Tao - BUGFIX(ProxyChannel.cxx) fix reading of AllowSignaledIPs= switch