Added localhost_match_wildcard_host parameter

Added localhost_match_wildcard_host parameter to service
This commit is contained in:
MassimilianoPinto
2014-09-12 16:24:55 +02:00
parent 3bb614d9eb
commit 8818f23176
4 changed files with 21 additions and 20 deletions

View File

@ -1301,12 +1301,12 @@ serviceGetWeightingParameter(SERVICE *service)
*/
int
serviceEnableLocalhostMatchAny(SERVICE *service, int action)
serviceEnableLocalhostMatchWildcardHost(SERVICE *service, int action)
{
if (action != 0 && action != 1)
return 0;
service->localhost_match_any = action;
service->localhost_match_wildcard_host = action;
return 1;
}