From f9566be8ddc6766cd7aed33779cd97b0431617b1 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Tue, 10 Feb 2004 15:12:01 +0000 Subject: [PATCH] Document the '-h hostname' option, which seems to have been present ever since rev. 1.1 of bootpd.c. While I'm here, rearrange the synopsis a bit: sort the options and clarify that -i and -s are mutually exclusive. Reported by: Atanas Buchvarov MFC after: 3 days --- libexec/bootpd/bootpd.8 | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/libexec/bootpd/bootpd.8 b/libexec/bootpd/bootpd.8 index 7599c7d0c4da..6651ac37ad03 100644 --- a/libexec/bootpd/bootpd.8 +++ b/libexec/bootpd/bootpd.8 @@ -10,20 +10,20 @@ .Nd Internet Boot Protocol server/gateway .Sh SYNOPSIS .Nm -.Op Fl i -.Op Fl s -.Op Fl t Ar timeout -.Op Fl d Ar level +.Op Fl i | Fl s .Op Fl c Ar chdir-path +.Op Fl d Ar level +.Op Fl h Ar hostname +.Op Fl t Ar timeout .Oo .Ar bootptab .Op Ar dumpfile .Oc .Nm bootpgw -.Op Fl i -.Op Fl s -.Op Fl t Ar timeout +.Op Fl i | Fl s .Op Fl d Ar level +.Op Fl h Ar hostname +.Op Fl t Ar timeout .Ar server .Sh DESCRIPTION The @@ -138,6 +138,13 @@ needs to use the same current directory as the TFTP server .Pa /tftpboot ) . This option is not recognized by .Nm bootpgw . +.It Fl h Ar hostname +Specify the hostname corresponding to the IP address to listen on. +By default, +.Nm +listens on the IP address corresponding to the machine's hostname, as +returned by +.Xr gethostname 3 . .It Fl i Force inetd mode. This option is obsolete, but remains for compatibility with older versions of