]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix layout of comm_point_udp_ancil_callback. master
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 3 Jul 2025 13:57:49 +0000 (15:57 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 3 Jul 2025 13:57:49 +0000 (15:57 +0200)
doc/Changelog
util/netevent.c

index 425f36f7f8652be072fe56ec4e492dc3bc322c83..79e82e1444f0c9bc768f7b7a98dd4ab83a1acf9e 100644 (file)
@@ -1,6 +1,7 @@
 3 July 2025: Wouter
        - Fix #1300: Is 'sock-queue-timeout' a linux only feature.
        - For #1300: implement sock-queue-timeout for FreeBSD as well.
+       - Fix layout of comm_point_udp_ancil_callback.
 
 2 July 2025: Wouter
        - Merge #1299: Fix typos.
index 2d2a5442017cf6442de65a549e93138c738f0ef2..8d6445abf51e37deddc5a707b7ccfc627d5ceca3 100644 (file)
@@ -1087,8 +1087,7 @@ comm_point_udp_ancil_callback(int fd, short event, void* arg)
                        } else if( cmsg->cmsg_level == SOL_SOCKET &&
                                cmsg->cmsg_type == SCM_TIMESTAMP) {
                                /* FreeBSD and also Linux. */
-                               memmove(&rep.c->recv_tv, CMSG_DATA(cmsg), sizeof
-(struct timeval));
+                               memmove(&rep.c->recv_tv, CMSG_DATA(cmsg), sizeof(struct timeval));
 #endif /* HAVE_LINUX_NET_TSTAMP_H */
                        }
                }