summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/dhcrelay/dhcrelay.821
-rw-r--r--usr.sbin/dhcrelay/dhcrelay.c4
2 files changed, 3 insertions, 22 deletions
diff --git a/usr.sbin/dhcrelay/dhcrelay.8 b/usr.sbin/dhcrelay/dhcrelay.8
index c569beb98d1..16e28ff7c70 100644
--- a/usr.sbin/dhcrelay/dhcrelay.8
+++ b/usr.sbin/dhcrelay/dhcrelay.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dhcrelay.8,v 1.4 2004/04/13 17:27:48 jmc Exp $
+.\" $OpenBSD: dhcrelay.8,v 1.5 2004/08/15 23:24:14 jaredy Exp $
.\"
.\" Copyright (c) 1997 The Internet Software Consortium.
.\" All rights reserved.
@@ -45,7 +45,6 @@
.Sh SYNOPSIS
.Nm
.Op Fl d
-.Op Fl p Ar port
.Fl i Ar interface
.Ar server0 Op Ar ... serverN
.Sh DESCRIPTION
@@ -83,24 +82,6 @@ to always run as a foreground process.
The name of the network interface that
.Nm
should attempt to configure.
-.It Fl p Ar port
-Tells
-.Nm
-to listen and transmit on a port other than the standard
-.Pq port 67 .
-It should be followed by the UDP port number that
-.Nm
-should use.
-This is mostly useful for debugging purposes.
-The relay agent will transmit responses to clients
-at a port number that is one greater than the one specified \- i.e., if
-you specify
-.Fl p
-67, then the relay agent will listen on port 67 and transmit to port 68.
-Transmissions to servers will be sent to the same port number
-that is specified with the
-.Fl p
-flag.
.El
.Sh SEE ALSO
.Xr dhclient 8 ,
diff --git a/usr.sbin/dhcrelay/dhcrelay.c b/usr.sbin/dhcrelay/dhcrelay.c
index 26c744356ce..7cf9c1a9a6b 100644
--- a/usr.sbin/dhcrelay/dhcrelay.c
+++ b/usr.sbin/dhcrelay/dhcrelay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcrelay.c,v 1.20 2004/05/12 10:41:08 henning Exp $ */
+/* $OpenBSD: dhcrelay.c,v 1.21 2004/08/15 23:24:14 jaredy Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org>
@@ -240,7 +240,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "Usage: %s [-q] [-d] [-p <port>] ", __progname);
+ fprintf(stderr, "Usage: %s [-d] ", __progname);
fprintf(stderr, "-i interface server1 [... serverN]\n");
exit(1);
}