mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-30 11:44:29 +03:00
Add prometheus support
This commit is contained in:
@@ -163,7 +163,7 @@ RestServer::Impl::init()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_ipv6 = getProfileAgentSettingWithDefault(false, "enable_ipv6");
|
bool is_ipv6 = getProfileAgentSettingWithDefault(false, "agent.rest.enableIpv6");
|
||||||
if (is_ipv6) {
|
if (is_ipv6) {
|
||||||
fd = socket(AF_INET6, SOCK_STREAM, 0);
|
fd = socket(AF_INET6, SOCK_STREAM, 0);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user