[Git][NTPsec/ntpsec][master] In TrueTime driver, remove last remnants of OMEGA support.

Eric S. Raymond gitlab at mg.gitlab.com
Sun Sep 17 15:48:31 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
252a8365 by Eric S. Raymond at 2017-09-17T15:48:09Z
In TrueTime driver, remove last remnants of OMEGA support.

OMEGA wa shut down in 1997.

- - - - -


1 changed file:

- ntpd/refclock_truetime.c


Changes:

=====================================
ntpd/refclock_truetime.c
=====================================
--- a/ntpd/refclock_truetime.c
+++ b/ntpd/refclock_truetime.c
@@ -125,8 +125,8 @@ static const char *states[] = {"Base", "InqTM", "InqTCU", "InqGOES",
 			"Init", "F18", "F50", "Start", "Auto"};
 #define stateStr(x) (((int)x<(int)s_Max) ? states[(int)x] : "?")
 
-enum true_type	{t_unknown, t_goes, t_tm, t_tcu, t_omega, t_tl3, t_Max};
-static const char *types[] = {"unknown", "goes", "tm", "tcu", "omega", "tl3"};
+enum true_type	{t_unknown, t_goes, t_tm, t_tcu, t_tl3, t_Max};
+static const char *types[] = {"unknown", "goes", "tm", "tcu", "tl3"};
 #define typeStr(x) (((int)x<(int)t_Max) ? types[(int)x] : "?")
 
 /*
@@ -643,23 +643,6 @@ true_doevent(
 			break;
 		}
 		/* FALLTHROUGH */
-	case t_omega:
-		switch (event) {
-		case e_Init:
-			true_send(peer, "C");
-			up->state = s_Start;
-			break;
-		case e_TS:
-			if (up->state != s_Start && up->state != s_Auto) {
-				true_send(peer, "\03\r");
-				break;
-			}
-			up->state = s_Auto;
-			break;
-		default:
-			break;
-		}
-		break;
 	case t_tm:
 		switch (event) {
 		case e_Init:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/252a8365b39a16911dfe5998fe5426613e9938af

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/252a8365b39a16911dfe5998fe5426613e9938af
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/20170917/4a5d5b0d/attachment.html>


More information about the vc mailing list