diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-17 13:32:16 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-17 13:32:16 +0000 |
commit | 1340c7de0fc244641d20861d469b7b7fcbe41b5e (patch) | |
tree | a2ecae6832538767b50411ea5084baddbb5339f3 /usr.sbin/dhcpd | |
parent | 18411585f6ef939149a0bf44027e636b268355d3 (diff) |
no code for -p, so remove from man page and usage();
confirmed by ckuethe;
spotted by Mark Lumsden
Diffstat (limited to 'usr.sbin/dhcpd')
-rw-r--r-- | usr.sbin/dhcpd/dhcpd.8 | 8 | ||||
-rw-r--r-- | usr.sbin/dhcpd/dhcpd.c | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.8 b/usr.sbin/dhcpd/dhcpd.8 index 8fec6e12fed..c1a9eed6d64 100644 --- a/usr.sbin/dhcpd/dhcpd.8 +++ b/usr.sbin/dhcpd/dhcpd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dhcpd.8,v 1.13 2006/08/09 11:05:31 stevesk Exp $ +.\" $OpenBSD: dhcpd.8,v 1.14 2007/02/17 13:32:15 jmc Exp $ .\" .\" Copyright (c) 1995, 1996 The Internet Software Consortium. .\" All rights reserved. @@ -51,7 +51,6 @@ .Op Fl c Ar config-file .Op Fl L Ar leased_ip_table .Op Fl l Ar lease-file -.Op Fl p Ar pf-device .Op Ar if0 Op Ar ... ifN .Ek .Sh DESCRIPTION @@ -238,11 +237,6 @@ for testing lease files in a non-production environment. .It Fl n Only test configuration, do not run .Nm . -.It Fl p Ar pf-device -Use an alternate -.Xr pf 4 -device, -.Ar pf-device . .El .Sh CONFIGURATION The syntax of the diff --git a/usr.sbin/dhcpd/dhcpd.c b/usr.sbin/dhcpd/dhcpd.c index bfe34f8fe1d..e86fdea8aba 100644 --- a/usr.sbin/dhcpd/dhcpd.c +++ b/usr.sbin/dhcpd/dhcpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.c,v 1.30 2006/11/22 19:10:39 stevesk Exp $ */ +/* $OpenBSD: dhcpd.c,v 1.31 2007/02/17 13:32:15 jmc Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org> @@ -193,7 +193,7 @@ usage(void) fprintf(stderr, " [-C changed_ip_table]\n"); fprintf(stderr, "\t[-c config-file] [-L leased_ip_table]"); fprintf(stderr, " [-l lease-file]\n"); - fprintf(stderr, "\t[-p pf-device] [if0 [...ifN]]\n"); + fprintf(stderr, "\t[if0 [...ifN]]\n"); exit(1); } |