|
|
@ -2955,7 +2955,7 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice *devic
|
|
|
|
ndevice->internalSetIpV6Netmask(address);
|
|
|
|
ndevice->internalSetIpV6Netmask(address);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
s = getnameinfo(ifa->ifa_ifu.ifu_broadaddr, (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST);
|
|
|
|
s = ifa->ifa_ifu.ifu_broadaddr ? getnameinfo(ifa->ifa_ifu.ifu_broadaddr, (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST) : EAI_NONAME;
|
|
|
|
if (s == 0) {
|
|
|
|
if (s == 0) {
|
|
|
|
TQString address(host);
|
|
|
|
TQString address(host);
|
|
|
|
if (family == AF_INET) {
|
|
|
|
if (family == AF_INET) {
|
|
|
@ -2966,7 +2966,7 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice *devic
|
|
|
|
ndevice->internalSetIpV6Broadcast(address);
|
|
|
|
ndevice->internalSetIpV6Broadcast(address);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
s = getnameinfo(ifa->ifa_ifu.ifu_dstaddr, (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST);
|
|
|
|
s = ifa->ifa_ifu.ifu_dstaddr ? getnameinfo(ifa->ifa_ifu.ifu_dstaddr, (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST) : EAI_NONAME;
|
|
|
|
if (s == 0) {
|
|
|
|
if (s == 0) {
|
|
|
|
TQString address(host);
|
|
|
|
TQString address(host);
|
|
|
|
if (family == AF_INET) {
|
|
|
|
if (family == AF_INET) {
|
|
|
|