]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Wed, 3 Jan 2024 14:25:47 +0000 (09:25 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 3 Jan 2024 14:25:47 +0000 (09:25 -0500)
src/lib/util/udpfromto.c

index c5eb8cb92287219ab9cb62b4b2de5cce4939b896..420913c3523c2dcfc4b0331538a88792d0f09b9e 100644 (file)
@@ -360,7 +360,7 @@ DIAG_ON(sign-compare)
 
 #ifdef SO_TIMESTAMPNS
                if (when && (cmsg->cmsg_level == SOL_IP) && (cmsg->cmsg_type == SO_TIMESTAMPNS)) {
-                       *when = fr_time_from_timespec((struct timeval *)CMSG_DATA(cmsg));
+                       *when = fr_time_from_timespec((struct timespec *)CMSG_DATA(cmsg));
                }
 #endif
        }