From a8ce2ad000e7242a4f9f009b89aaf3d0fe559226 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 24 May 2023 23:11:56 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index d961700d..47429765 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -444,7 +444,8 @@ VIEWSITEINFO(){ cw_spc3=7 cw_spc4=7 cw_spc5=7 - cw_spc6=7 + cw_spc6=8 + cw_spc7=15 echo -e "${idsCL[LightGreen]}Site Information ${idsCL[Default]}" @@ -460,7 +461,7 @@ VIEWSITEINFO(){ msg4="HSTS"; c=0; spc4=''; spct=$((${cw_spc4}-${#msg4})); until [ $c = ${spct} ]; do spc4="${spc4} "; c=`expr $c + 1`; done msg5="WBSKT"; c=0; spc5=''; spct=$((${cw_spc5}-${#msg5})); until [ $c = ${spct} ]; do spc5="${spc5} "; c=`expr $c + 1`; done msg6="LOCK"; c=0; spc6=''; spct=$((${cw_spc6}-${#msg6})); until [ $c = ${spct} ]; do spc6="${spc6} "; c=`expr $c + 1`; done - msg7="Proxy Host"; + msg7="Proxy Address & Port"; echo -e "${idsST[Bold]}${idsCL[LightCyan]}${msg1}${spc1}${msg2}${spc2}${msg3}${spc3}${msg4}${spc4}${msg5}${spc5}${msg6}${spc6}${msg7}${idsST[Reset]}${idsCL[Default]}" DIVIDER false yellow 90 else @@ -474,7 +475,8 @@ VIEWSITEINFO(){ server=${server#*\"}; server=${server%\"*} port=$(grep 'set $port' ${sitefile}) port=${port##* }; port=${port%;*} - proxyhost="${server} : ${port}" + c=0; spc7=''; spct=$((${cw_spc7}-${#server})); until [ $c = ${spct} ]; do spc7="${spc7} "; c=`expr $c + 1`; done + proxyhost="${server}${spc7}: ${port}" else type='HTTP' fi