+* PPS and crypto cleanup in ntp_proto.c from Dave Mills.
(4.2.5p165) 2009/04/23 Released by Harlan Stenn <stenn@ntp.org>
* WWVB refclock cleanup from Dave Mills.
* Code cleanup: requested_key -> request_key.
high) && !(peer->flags & FLAG_TRUE))
continue;
-#ifdef HAVE_PPSAPI
+#ifdef REFCLOCK
/*
* Elegible PPS peers must survive the intersection
* algorithm. Use the first one found, but don't
typepps = peer;
continue;
}
-#endif /* HAVE_PPSAPI */
+#endif /* REFCLOCK */
/*
* The metric is the scaled root distance plus the peer
peer->assoc, NULL);
else if (peer->flags & FLAG_ASSOC)
exten = crypto_args(peer, CRYPTO_AUTO |
- CRYPTO_RESP, peer->associd, NULL);
+ CRYPTO_RESP, peer->assoc, NULL);
/*
* Wait for clock sync, then sign the