From e1c66a13654728e4b903afb221b7d6a459e0dd95 Mon Sep 17 00:00:00 2001 From: Alessio Garzi Date: Tue, 7 Mar 2023 16:42:56 +0100 Subject: [PATCH] MT#56490 Reload lct gw table also on LB This commit forces the reload of the lcr gw table not only for proxy but also for lb. This is necessary to get lcr counters data structure updated every time we have an add or del through web interface of the list of gateways. Change-Id: Ic25bdf916346965962c19164cffc4c48bf2aef7d --- lib/NGCP/Panel/Utils/Peering.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Utils/Peering.pm b/lib/NGCP/Panel/Utils/Peering.pm index e401b23b18..4aeb23ab4d 100644 --- a/lib/NGCP/Panel/Utils/Peering.pm +++ b/lib/NGCP/Panel/Utils/Peering.pm @@ -7,13 +7,16 @@ use warnings; sub _sip_lcr_reload { my(%params) = @_; my($c) = @params{qw/c/}; - NGCP::Panel::Utils::XMLDispatcher::dispatch($c, "proxy-ng", 1, 1, < lcr.reload EOF + } return 1; }