DragonFly BSD
DragonFly submit List (threaded) for 2003-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

dhclient patch


From: Kent Ibbetson <bsd@xxxxxxxxxx>
Date: Wed, 31 Dec 2003 10:14:56 +1000

Hi all,

This is just a simple patch taken straight from the FreeBSD PR
database, originally from Paulius Bulotas <paulius@xxxxxxxxxxxx>.
I've just regenerated it for DF as it didn't apply correctly.

It just removes the -D option from the man page and the usage()
function - the actual -D code left several version ago.

-- 
Kent Ibbetson
bsd@xxxxxxxxxx
*** contrib/isc-dhcp/client/dhclient.8.orig	Wed Dec 31 09:57:05 2003
--- contrib/isc-dhcp/client/dhclient.8	Wed Dec 31 09:54:57 2003
***************
*** 33,41 ****
  .I port
  ]
  [
- .B -D
- ]
- [
  .B -d
  ]
  [
--- 33,38 ----
***************
*** 162,176 ****
  only configure interfaces that are either specified in the
  configuration file or on the command line, and will ignore all other
  interfaces.
- .PP
- The
- .B -D
- flag causes
- .B dhclient
- to save the script it creates for use in conjunction with
- .B dhclient-script
- in 
- .IR /tmp.
  .PP
  If the DHCP client should listen and transmit on a port other than the
  standard (port 68), the
--- 159,164 ----
*** contrib/isc-dhcp/client/dhclient.c.orig	Wed Dec 31 09:52:34 2003
--- contrib/isc-dhcp/client/dhclient.c	Wed Dec 31 09:53:25 2003
***************
*** 544,550 ****
  	log_info (arr);
  	log_info (url);
  
! 	log_error ("Usage: dhclient [-1Ddqr] [-nw] [-p <port>] %s",
  		   "[-s server]");
  	log_error ("                [-cf config-file] [-lf lease-file]%s",
  		   "[-pf pid-file] [-e VAR=val]");
--- 544,550 ----
  	log_info (arr);
  	log_info (url);
  
! 	log_error ("Usage: dhclient [-1dqr] [-nw] [-p <port>] %s",
  		   "[-s server]");
  	log_error ("                [-cf config-file] [-lf lease-file]%s",
  		   "[-pf pid-file] [-e VAR=val]");


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]