Add localhost IPv6 for nrpe allow param
This commit is contained in:
parent
94774e6a66
commit
dcdefa4e37
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue