diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-06-23 23:40:02 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-06-23 23:40:02 +0000 |
commit | f1b2a73d600a397664f7e0bb0759d114e4bd9338 (patch) | |
tree | 1f762fde578b5005be25198c106c89beb9550ae2 /contrib/isc-dhcp/client/dhclient.c | |
parent | f96b6240a8bcccf45bd5180f78bf9512c3339a18 (diff) | |
download | src-f1b2a73d600a397664f7e0bb0759d114e4bd9338.tar.gz src-f1b2a73d600a397664f7e0bb0759d114e4bd9338.zip |
Virgin import of ISC-DHCP v2.0
Notes
Notes:
svn path=/vendor/isc-dhcp/dist/; revision=48146
Diffstat (limited to 'contrib/isc-dhcp/client/dhclient.c')
-rw-r--r-- | contrib/isc-dhcp/client/dhclient.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c index 9ac4aea17a8d..d904e7533461 100644 --- a/contrib/isc-dhcp/client/dhclient.c +++ b/contrib/isc-dhcp/client/dhclient.c @@ -56,10 +56,11 @@ #ifndef lint static char ocopyright[] = -"$Id: dhclient.c,v 1.44.2.37 1999/04/24 16:55:19 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.44.2.39 1999/06/22 13:36:46 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" +#include "version.h" TIME cur_time; TIME default_lease_time = 43200; /* 12 hours... */ @@ -92,7 +93,7 @@ int save_scripts; static char copyright[] = "Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium."; static char arr [] = "All rights reserved."; -static char message [] = "Internet Software Consortium DHCP Client V2.0b1pl27"; +static char message [] = "Internet Software Consortium DHCP Client"; static char contrib [] = "Please contribute if you find this software useful."; static char url [] = "For info, please visit http://www.isc.org/dhcp-contrib.html"; @@ -109,7 +110,7 @@ int main (argc, argv, envp) int quiet = 0; char *s; - s = strchr (argv [0], '/'); + s = strrchr (argv [0], '/'); if (!s) s = argv [0]; else @@ -168,7 +169,7 @@ int main (argc, argv, envp) } if (!quiet) { - note (message); + note ("%s %s", message, DHCP_VERSION); note (copyright); note (arr); note (""); |