Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2007 20:46:44 GMT
From:      Seth Hieronymus<shieronymus@speakeasy.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/112642: [patch] Update ntpd(8) manpage to reflect lack of -4 and -6 program options
Message-ID:  <200705132046.l4DKkiok045249@www.freebsd.org>
Resent-Message-ID: <200705132100.l4DL0BX5038108@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112642
>Category:       docs
>Synopsis:       [patch] Update ntpd(8) manpage to reflect lack of -4 and -6 program options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 13 21:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Seth Hieronymus
>Release:        6.2 Stable @ 2007/05/12
>Organization:
>Environment:
FreeBSD hts3 6.2-STABLE FreeBSD 6.2-STABLE #27: Sun May 13 08:52:24 UTC 2007     root@hts3:/usr/obj/usr/src/sys/hts3  i386

>Description:
The manpage for ntpd shows the DNS options: -4 and -6.  However, the binary does not recognize them.  The easy fix (not sure if correct) is to just delete the two option descriptions from the manpage.
>How-To-Repeat:
root@hts3:/etc # ntpd -4

ntpd: unknown option -4
usage: ntpd [ -abdgmnqx ] [ -c config_file ] [ -e e_delay ]
                [ -f freq_file ] [ -k key_file ] [ -l log_file ]
                [ -p pid_file ] [ -r broad_delay ] [ -s statdir ]
                [ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ]

>Fix:
--- ntpd.8      Sun May 13 20:32:43 2007
+++ ntpd.8.new  Sun May 13 20:34:41 2007
@@ -9,7 +9,7 @@
 .Nd Network Time Protocol (NTP) daemon
 .Sh SYNOPSIS
 .Nm
-.Op Fl 46aAbDdgLmnPqx
+.Op Fl aAbDdgLmnPqx
 .Op Fl c Ar conffile
 .Op Fl f Ar driftfile
 .Op Fl k Ar keyfile
@@ -91,10 +91,6 @@
 .Pp
 The following options are available:
 .Bl -tag -width indent
-.It Fl 4
-Force DNS resolution of following host names to the IPv4 namespace.
-.It Fl 6
-Force DNS resolution of following host names to the IPv6 namespace.
 .It Fl a
 Require cryptographic authentication for broadcast client,
 multicast client and symmetric passive associations.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705132046.l4DKkiok045249>