Browse Source

HPCC-24332 Dali whitelist error msg to include Dali IP

Signed-off-by: Mark Kelly <mark.kelly@lexisnexisrisk.com>
Mark Kelly 5 năm trước cách đây
mục cha
commit
fdd482cd46
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      system/jlib/jsocket.cpp

+ 3 - 1
system/jlib/jsocket.cpp

@@ -7017,7 +7017,9 @@ public:
 
         if (responseText)
         {
-            responseText->append("Access denied! [client ip=");
+            responseText->append("Access denied! [server ip=");
+            queryHostIP().getIpText(*responseText);
+            responseText->append(", client ip=");
             responseText->append(ip);
             if (role)
             {