always present. Make socket activation more lenient. But not
different when socket activation is not used.
git-svn-id: file:///svn/unbound/trunk@4824
be551aaa-1e26-0410-a405-
d3ace91eadb9
+1 August 2018: Wouter
+ - Fix to remove systemd sockaddr function check, that is not
+ always present. Make socket activation more lenient. But not
+ different when socket activation is not used.
+
31 July 2018: Wouter
- Patches from Jim Hague (Sinodun) for EDNS KeepAlive.
- Sort out test runs when the build directory isn't the project
for(i = 0; i < r; i++) {
if(sd_is_socket(SD_LISTEN_FDS_START + i, family, socktype, listen)) {
- if( (family == AF_INET || family == AF_INET6) ) {
- if(sd_is_socket_sockaddr(
- SD_LISTEN_FDS_START + i, family,
- addr, addrlen)) {
- s = SD_LISTEN_FDS_START + i;
- break;
- }
- } else {
- s = SD_LISTEN_FDS_START + i;
- break;
- }
+ s = SD_LISTEN_FDS_START + i;
+ break;
}
}
if (s == -1) {