|
|
adae9d |
--- tftp-hpa-5.2/tftp/main.c 2013-04-19 09:34:09.737410319 +0200
|
|
|
adae9d |
+++ tftp-hpa-5.2/tftp/main.c 2013-04-19 09:42:53.559946374 +0200
|
|
|
adae9d |
@@ -195,9 +195,11 @@
|
|
|
adae9d |
{
|
|
|
adae9d |
fprintf(stderr,
|
|
|
adae9d |
#ifdef HAVE_IPV6
|
|
|
adae9d |
- "Usage: %s [-4][-6][-v][-l][-m mode] [host [port]] [-c command]\n",
|
|
|
adae9d |
+ "Usage: %s [-4][-6][-v][-V][-l][-m mode] [-R port:port] "
|
|
|
adae9d |
+ "[host [port]] [-c command]\n",
|
|
|
adae9d |
#else
|
|
|
adae9d |
- "Usage: %s [-v][-l][-m mode] [host [port]] [-c command]\n",
|
|
|
adae9d |
+ "Usage: %s [-v][-V][-l][-m mode] [-R port:port] "
|
|
|
adae9d |
+ "[host [port]] [-c command]\n",
|
|
|
adae9d |
#endif
|
|
|
adae9d |
program);
|
|
|
adae9d |
exit(errcode);
|
|
|
adae9d |
--- tftp-hpa-5.2/tftpd/tftpd.8.in 2012-11-20 09:43:46.000000000 +0100
|
|
|
adae9d |
+++ tftp-hpa-5.2/tftpd/tftpd.8.in 2013-04-19 09:44:37.399057279 +0200
|
|
|
adae9d |
@@ -155,7 +155,7 @@
|
|
|
adae9d |
.B utimeout
|
|
|
adae9d |
option is negotiated. The default is 1000000 (1 second.)
|
|
|
adae9d |
.TP
|
|
|
adae9d |
-\fB\-\-mapfile\fP \fIremap-file\fP, \fB\-m\fP \fIremap-file\fP
|
|
|
adae9d |
+\fB\-\-map\-file\fP \fIremap-file\fP, \fB\-m\fP \fIremap-file\fP
|
|
|
adae9d |
Specify the use of filename remapping. The
|
|
|
adae9d |
.I remap-file
|
|
|
adae9d |
is a file containing the remapping rules. See the section on filename
|
|
|
52b646 |
@@ -243,7 +243,7 @@ option, but crash with an error if they
|
|
|
52b646 |
accepted by the server.
|
|
|
52b646 |
.SH "FILENAME REMAPPING"
|
|
|
52b646 |
The
|
|
|
52b646 |
-.B \-\-mapfile
|
|
|
52b646 |
+.B \-\-map\-file
|
|
|
52b646 |
option specifies a file which contains filename remapping rules. Each
|
|
|
52b646 |
non-comment line (comments begin with hash marks,
|
|
|
52b646 |
.BR # )
|
|
|
52b646 |
@@ -395,7 +395,7 @@ flag is used to set up a chroot() enviro
|
|
|
52b646 |
once a connection has been set up.
|
|
|
52b646 |
.PP
|
|
|
52b646 |
Finally, the filename remapping
|
|
|
52b646 |
-.RB ( \-\-mapfile
|
|
|
52b646 |
+.RB ( \-\-map\-file
|
|
|
52b646 |
flag) support can be used to provide a limited amount of additional
|
|
|
52b646 |
access control.
|
|
|
52b646 |
.SH "CONFORMING TO"
|