MCPcopy
hub / github.com/scality/cloudserver / checkIP

Function checkIP

lib/utilities/healthcheckHandler.js:108–111  ·  view source on GitHub ↗
(clientIP)

Source from the content-addressed store, hash-verified

106}
107
108function checkIP(clientIP) {
109 return ipCheck.ipMatchCidrList(
110 _config.healthChecks.allowFrom, clientIP);
111}
112
113/**
114 * Checks if client IP address is allowed to make http request to

Callers 1

healthcheckHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected