3
0
mirror of https://github.com/rvalitov/zabbix-php-fpm.git synced 2023-11-05 03:30:27 +01:00

[fix] IP processing

This commit is contained in:
Ramil Valitov 2020-06-29 16:02:20 +03:00
parent 8d642e70cb
commit 54db0b85bf
No known key found for this signature in database
GPG Key ID: 2AB186DABDFE1914

View File

@ -292,7 +292,7 @@ while IFS= read -r line; do
#Check and replace * to localhost if it's found. Asterisk means that the PHP listens on
#all interfaces.
PrintDebug "Found TCP connection $POOL_SOCKET"
POOL_SOCKET=${POOL_SOCKET//*:/localhost:}
POOL_SOCKET=${POOL_SOCKET/\*:/localhost:}
PrintDebug "Processed TCP connection $POOL_SOCKET"
ProcessPool "${line}" "${POOL_SOCKET}"
POOL_STATUS=$?