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