Add localhost IPv6 for nrpe allow param

This commit is contained in:
nemo 2019-06-29 12:24:47 +02:00
parent 94774e6a66
commit dcdefa4e37
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ then
else
# allowed_hosts
check_value_in_conf_file "NRPE" "${conf_file_to_test}" "allowed_hosts" "127.0.0.1,[[:space:]]*${IPV4_ADMIN_NETWORK}0/24,[[:space:]]*${IPV6_ADMIN_NETWORK}:/64"
check_value_in_conf_file "NRPE" "${conf_file_to_test}" "allowed_hosts" "127.0.0.1,[[:space:]]*::1,[[:space:]]*${IPV4_ADMIN_NETWORK}0/24,[[:space:]]*${IPV6_ADMIN_NETWORK}:/64"
case ${?} in
0) # OK, nothing to do