mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Add prometheus support
This commit is contained in:
parent
7c2fcbddcf
commit
c71b361755
@ -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) {
|
||||
fd = socket(AF_INET6, SOCK_STREAM, 0);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user