From 7b568c1f892800b664beedad852b3426966eeea3 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sat, 17 Dec 2022 15:18:16 -0800 Subject: [PATCH] sntp: fix help inaccuracies. The two IP addresses didn't match, and "default" in help text usually means "toybox will use this if you don't specify anything yourself" (as with the port option for this command), not "the RFC recommends". --- toys/net/sntp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toys/net/sntp.c b/toys/net/sntp.c index 1139b0e0..4a216df4 100644 --- a/toys/net/sntp.c +++ b/toys/net/sntp.c @@ -20,10 +20,10 @@ config SNTP -s Set system clock suddenly -a Adjust system clock gradually -S Serve time instead of querying (bind to SERVER address if specified) - -m Wait for updates from multicast ADDRESS (RFC 4330 default 224.0.1.1) - -M Multicast server on ADDRESS (default 224.0.0.1) + -m Wait for updates from multicast ADDRESS (RFC 4330 suggests 224.0.1.1) + -M Multicast server on ADDRESS (RFC 4330 suggests 224.0.1.1) -t TTL (multicast only, default 1) - -d Daemonize (run in background re-querying ) + -d Daemonize (run in background re-querying) -D Daemonize but stay in foreground: re-query time every 1000 seconds -r Retry shift (every 1<