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 <nasko@nove.bg> MFC after: 3 days
This commit is contained in:
parent
99cf2f941c
commit
f9566be8dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125654
@ -10,20 +10,20 @@
|
|||||||
.Nd Internet Boot Protocol server/gateway
|
.Nd Internet Boot Protocol server/gateway
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl i
|
.Op Fl i | Fl s
|
||||||
.Op Fl s
|
|
||||||
.Op Fl t Ar timeout
|
|
||||||
.Op Fl d Ar level
|
|
||||||
.Op Fl c Ar chdir-path
|
.Op Fl c Ar chdir-path
|
||||||
|
.Op Fl d Ar level
|
||||||
|
.Op Fl h Ar hostname
|
||||||
|
.Op Fl t Ar timeout
|
||||||
.Oo
|
.Oo
|
||||||
.Ar bootptab
|
.Ar bootptab
|
||||||
.Op Ar dumpfile
|
.Op Ar dumpfile
|
||||||
.Oc
|
.Oc
|
||||||
.Nm bootpgw
|
.Nm bootpgw
|
||||||
.Op Fl i
|
.Op Fl i | Fl s
|
||||||
.Op Fl s
|
|
||||||
.Op Fl t Ar timeout
|
|
||||||
.Op Fl d Ar level
|
.Op Fl d Ar level
|
||||||
|
.Op Fl h Ar hostname
|
||||||
|
.Op Fl t Ar timeout
|
||||||
.Ar server
|
.Ar server
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
@ -138,6 +138,13 @@ needs to use the same current directory as the TFTP server
|
|||||||
.Pa /tftpboot ) .
|
.Pa /tftpboot ) .
|
||||||
This option is not recognized by
|
This option is not recognized by
|
||||||
.Nm bootpgw .
|
.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
|
.It Fl i
|
||||||
Force inetd mode. This option is obsolete, but remains for
|
Force inetd mode. This option is obsolete, but remains for
|
||||||
compatibility with older versions of
|
compatibility with older versions of
|
||||||
|
Loading…
Reference in New Issue
Block a user