From fb65c645cbcfeffb46e4d97ea440d1e413fcac3b Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 4 Aug 2023 17:01:48 +1000 Subject: [PATCH] Fix incorrect assigning of service ports in #ccafc6 --- app/Models/Setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Setup.php b/app/Models/Setup.php index 792d102..27695ed 100644 --- a/app/Models/Setup.php +++ b/app/Models/Setup.php @@ -52,9 +52,9 @@ class Setup extends Model case 'binkp_port': return Arr::get($this->servers,str_replace('_','.',$key),Binkp::PORT); case 'dns_port': - return Arr::get($this->servers,str_replace('_','.',$key),EMSI::PORT); - case 'emsi_port': return Arr::get($this->servers,str_replace('_','.',$key),DNS::PORT); + case 'emsi_port': + return Arr::get($this->servers,str_replace('_','.',$key),EMSI::PORT); case 'options_options': return Arr::get($this->options,'options');