[Git][NTPsec/ntpsec][master] More work on fixing Fix #842

Hal Murray (@hal.murray) gitlab at mg.gitlab.com
Mon Apr 7 10:49:09 UTC 2025



Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
4756b631 by Hal Murray at 2025-04-07T03:43:03-07:00
More work on fixing Fix #842

This one works -- tested by reporter.

- - - - -


1 changed file:

- ntpd/ntp_packetstamp.c


Changes:

=====================================
ntpd/ntp_packetstamp.c
=====================================
@@ -338,9 +338,9 @@ fetch_packetstamp(
 #if defined(SO_TIMESTAMPNS)
 	/* Linux and ?? */
 	if ((SCM_TIMESTAMPNS != cmsghdr->cmsg_type)
-#ifdef SCM_TIMESTAMPNS_OLD
-	    /* Ubuntu 20.04.2 on ZeroPi??, see #842 */
-            && (SCM_TIMESTAMPNS_OLD != cmsghdr->cmsg_type)
+#ifdef SO_TIMESTAMPNS_OLD
+	    /* Ubuntu 20.04.2 on ZeroPi, see #842 */
+            && (SO_TIMESTAMPNS_OLD != cmsghdr->cmsg_type)
 #endif
           ) {
 #elif defined(SO_TS_CLOCK)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/4756b6317734c548e84914ef842a43e2317edfdb

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/4756b6317734c548e84914ef842a43e2317edfdb
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20250407/b108a220/attachment-0001.htm>


More information about the vc mailing list