You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (m_tcpParameters.value().bindIPAddress.size() > 0)
{
/* Convert mSocketPath to a number in network byte order */if (!inet_aton(m_tcpParameters.value().bindIPAddress.c_str(), &listenAddr.sin_addr))
{
DCGM_LOG_ERROR << "Unable to convert \"" << m_tcpParameters.value().bindIPAddress
<< "\" to a network address.";
close(m_tcpListenSocketFd);
m_tcpListenSocketFd = -1;
return DCGM_ST_GENERIC_ERROR;
}
}
inet_aton cannot parse IPv6 Address, we need use inet_pton
The text was updated successfully, but these errors were encountered:
DCGM cannot listen on v6 address.
inet_aton
cannot parse IPv6 Address, we need useinet_pton
The text was updated successfully, but these errors were encountered: