summaryrefslogtreecommitdiff
path: root/tftpd
diff options
context:
space:
mode:
Diffstat (limited to 'tftpd')
-rw-r--r--tftpd/tftpd.8.in6
-rw-r--r--tftpd/tftpd.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/tftpd/tftpd.8.in b/tftpd/tftpd.8.in
index b4d1ac3..01007ea 100644
--- a/tftpd/tftpd.8.in
+++ b/tftpd/tftpd.8.in
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\"----------------------------------------------------------------------- */
-.TH TFTPD 8 "16 February 2006" "tftp-hpa @@VERSION@@" "System Manager's Manual"
+.TH TFTPD 8 "23 July 2008" "tftp-hpa @@VERSION@@" "System Manager's Manual"
.SH NAME
.B tftpd
\- IPv4 Trivial File Transfer Protocol server
@@ -49,10 +49,10 @@ but can also run standalone.
.SH OPTIONS
.TP
.B \-4
-Connect with IPv4 only, if IPv6 support was compiled in.
+Connect with IPv4 only, even if IPv6 support was compiled in.
.TP
.B \-6
-Connect with IPv6 only, if IPv6 support was compiled in.
+Connect with IPv6 only, if compiled in.
.TP
.B \-l
Run the server in standalone (listen) mode, rather than run from
diff --git a/tftpd/tftpd.c b/tftpd/tftpd.c
index 38f5e7b..8321771 100644
--- a/tftpd/tftpd.c
+++ b/tftpd/tftpd.c
@@ -298,10 +298,10 @@ int main(int argc, char **argv)
while ((c = getopt(argc, argv, "46cspvVlLa:B:u:U:r:t:T:R:m:")) != -1)
switch (c) {
-#ifdef HAVE_IPV6
case '4':
ai_fam = AF_INET;
break;
+#ifdef HAVE_IPV6
case '6':
ai_fam = AF_INET6;
break;