summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2012-07-11 11:51:36 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2012-07-11 11:51:36 +0000
commitcb0bc3ee0dc3738a6070c51c16f5101aa9d2e34c (patch)
treee4f5c3cf3362806b04493068d946311ee11dc9fe
parent4815188c60edd2ecad4d081605ca7b35831c1b59 (diff)
-t pftag doesnt do anything, trim the getopt side of it until i get to it.
-rw-r--r--usr.sbin/tftp-proxy/tftp-proxy.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/tftp-proxy/tftp-proxy.c b/usr.sbin/tftp-proxy/tftp-proxy.c
index a022683cac8..9acef373401 100644
--- a/usr.sbin/tftp-proxy/tftp-proxy.c
+++ b/usr.sbin/tftp-proxy/tftp-proxy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tftp-proxy.c,v 1.1 2012/07/11 11:43:27 dlg Exp $
+/* $OpenBSD: tftp-proxy.c,v 1.2 2012/07/11 11:51:35 dlg Exp $
*
* Copyright (c) 2005 DLS Internet Services
* Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl>
@@ -141,8 +141,8 @@ __dead void
usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-46v] [-l addr] [-p port] [-t tag] "
- "[-w wait]", __progname);
+ fprintf(stderr, "usage: %s [-46v] [-l addr] [-p port] [-w wait]",
+ __progname);
exit(1);
}
@@ -193,8 +193,6 @@ main(int argc, char *argv[])
char *port = "6969";
int family = AF_UNSPEC;
- char *tag = NULL;
-
int pair[2];
while ((c = getopt(argc, argv, "46dvl:p:t:w:")) != -1) {
@@ -214,9 +212,6 @@ main(int argc, char *argv[])
case 'p':
port = optarg;
break;
- case 't':
- tag = optarg;
- break;
case 'v':
verbose = 1;
break;