summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid a null pointer dereference by not expiring our lease if we don'tbrooks2005-06-131-6/+9
| | | | | | | | have an active one. Submitted by: sam Reported by: James Snow <snow at teardrop dot org> Approved by: re (dhclient blanket)
* Add support for /etc/dhclient-enter-hooks to match /etc/dhclient-exit-hooks.brooks2005-06-101-0/+11
|
* Add support for /etc/dhclient-exit-hooks file.brooks2005-06-081-3/+13
| | | | Tested by: Max Boyarov <max_b at tut dot by>
* Fix build on 64-bit platforms where time_t is 64 bit. Since wherebrooks2005-06-071-4/+5
| | | | | | | | talking about time related to leases, it should be OK to cast these to (int)s rather than using intmax_t. Submitted by: ru Pointy hat: brooks
* - Remove OpenBSD'ism (bsd.own.mk).ru2005-06-071-4/+0
| | | | - Remove redundant and harmful -Wall from CFLAGS.
* Use SCRIPTS to install dhclient-script instead of rolling our own.brooks2005-06-071-4/+1
|
* FreeBSDize the dhclient-script.brooks2005-06-071-21/+54
| | | | Submitted by: sam
* Define _PATH_VAREMPTY.brooks2005-06-071-1/+39
| | | | | | | | | Add a -b option to background immediatly. Add support for 802.11 routing messages to "instantly" renegotiate at lease when we associate with a new network. Submitted by: sam
* NULL is not a valid time_t.brooks2005-06-071-12/+13
| | | | Submitted by: sam
* We don't support BPF write filters at this time.brooks2005-06-071-0/+3
| | | | Submitted by: sam
* Take the OpenBSD version of the Makefile to resolve conflicts as the oldbrooks2005-06-071-59/+48
| | | | one is irrelevent. Add $FreeBSD.
* This commit was generated by cvs2svn to compensate for changes in r147072,brooks2005-06-0728-0/+10396
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import the OpenBSD dhclient as shipped with OpenBSD-3.7 (the tagbrooks2005-06-0729-20/+10434
| | | | | | | | OPENBSD_3_7).
* | Remove the bits to build the isc-dhclient.brooks2005-06-079-694/+0
| |
* | Let bsd.prog.mk set SRCS and MAN to their default values.ru2005-01-281-3/+0
| |
* | Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-212-2/+2
| | | | | | | | OK'ed by: core
* | For variables that are only checked with defined(), don't provideru2004-10-245-7/+7
| | | | | | | | any fake value.
* | style.Makefile(5):johan2004-02-231-1/+1
| | | | | | | | Use WARNS?= instead of WARNS=.
* | Update maintainer line. mbr has been maintainer for at least the lastmurray2003-11-301-1/+1
| | | | | | | | | | | | 6 months. Approved by: re (murray)
* | Turn the annoying and long error message off. It was sombr2003-08-091-1/+1
| | | | | | | | | | | | long that it was even hard to find the real error cause. Requested by: rwatson
* | Enable dhclient to poll the interface state and send onlymbr2003-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | requests if the interface has an active link. This is a great benefit if you often change networks with your laptop and you do not like to kill/restart dhclient all the time. Changes are automatically detected and the link is refreshed. The change allows us to start dhclient in background mode Enable dhclient to poll the interface state and send only requests if the interface has an active link. This is a great benefit if you often change networks with your laptop and you do not like to kill/restart dhclient all the time. Changes are automatically detected and the link is refreshed. The change allows us to start dhclient in background mode while the network cable is not plugged in. To control the polling interval, the option -i has been introduced. It takes seconds as parameter, the minimum is one second, the default is five seconds. Polling is done in seconds, not microseconds, because dhclient does internally work with timeouts in seconds. This change will be part of the next major ISC-dhcpd release. Tested by: bms, imp, and many many others. Reviewed by: murray, eivind, dhclient folks
* | Tweak a couple of utilities so they compile cleanly for /rescue. Mostlygordon2003-06-292-2/+8
| | | | | | | | | | | | path fixes. Submitted by: Tim Kientzle <kientzle@acm.org>
* | Hook omshell(1) up to the build.mdodd2003-03-254-1/+40
| |
* | Building crunched things by hand (regenerating boot floppies for example)mdodd2003-03-251-0/+2
| | | | | | | | | | without a full make release cycle fails as the correct include path isn't setup.
* | Removed now unused INTERNALSTATICLIB.ru2002-05-134-8/+0
| | | | | | | | | | INTERNALLIB now implies NOPIC and NOPROFILE. Removed gratuitous NOMAN.
* | Do not use perl where sed is more than adequate.obrien2002-04-131-1/+4
| |
* | Fix "make release.4" breakage.matusita2002-02-282-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/contrib/isc-dhcp/includes/minires/resolv.h has a 'extern' definition but it makes an error when linking crunched binary just like this: dhclient.lo: In function `MRres_nquery': dhclient.lo(.text+0x2dcce): undefined reference to `__h_errno_set' dhclient.lo(.text+0x2dd5b): undefined reference to `__h_errno_set' dhclient.lo: In function `MRres_nquerydomain': dhclient.lo(.text+0x2de53): undefined reference to `__h_errno_set' The author understands this will be a problem (see comments in resolv.h). Murray said that the author will fix this, but as a temporary solution, modifying the source code and not to use __h_errno_set. BTW, I'm sorry that previous commitlog in src/sbin/dhclient/Makefile should read "Found by:" instead of "Confirmed by"; I just found that rev 1.15 has a typo so fixed. Tested on: ushi.jp.FreeBSD.org with today's 5-current source code. (belive me, "make release.4" works fine now)
* | For unbraking "make release": s/client/common/gmatusita2002-02-281-7/+7
| | | | | | | | | | | | (these files are sitting in src/contrib/isc-dhcp/common, not .../client.) Confirmed by: 5.0-CURRENT-20020228-JPSNAP at snapshots.jp.FreeBSD.org
* | Add some ifdef(RELEASE_CRUNCH) goo to explicitly list the requisitemurray2002-02-261-0/+48
| | | | | | | | | | object files for crunchgen. Without this patch, release.4 will fail to build the crunched binaries for the release floppies.
* | Neutralize bits of ns_parse.c with bad juju.obrien2002-02-201-1/+6
| |
* | Style cleanup.obrien2002-02-196-33/+24
| | | | | | | | Approved by: Murray
* | Makefile glue for DHCP v3 import.murray2002-02-197-20/+151
| |
* | If the dhcpd server doesn't provide a domain name or dns servers thenalfred2002-02-011-4/+7
| | | | | | | | | | | | | | | | | | | | don't clobber /etc/resolv.conf Add $FreeBSD. Submitted by: an j. peterson" <rbw@myplace.org> Verified fix in: dhcp-3.0.1rc6 PR: misc/34455
* | Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* | beforeinstall -> SCRIPTS.ru2001-04-071-5/+3
| |
* | - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-2/+2
| | | | | | | | - MAN[1-9] -> MAN.
* | Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* | This commit was generated by cvs2svn to compensate for changes in r63925,obrien2000-07-271-0/+511
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Alternate script for dhclient to use in setting the received configurationobrien2000-07-271-0/+511
| / | | | | | | | | | | | | on the host. PR: 15342 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
* | Blah, need to add /usr/bin to the path also.obrien2000-07-211-1/+1
| | | | | | | | | | | | Of course this is a bug in that the dhclient script will not work properly if one has a local / and an NFS mounted /usr and needs to obtain its IP address via DHCP before being able to mount /usr.
* | Need /usr/sbin for arp(8).obrien2000-07-201-1/+1
| |
* | Patchlevel 3 of the ISC 2.0 dhcp client now requires us to give it theobrien2000-07-201-0/+1
| | | | | | | | shell script's PATH setting in the environment.
* | $Id$ -> $FreeBSD$peter1999-08-281-1/+1
| |
* | Add new file that needs compiling.obrien1999-06-241-3/+3
| |
* | Install dhclient-script under ${DESTDIR}.bde1999-04-031-2/+3
| | | | | | | | PR: 10615, 10891
* | More style fixes to bring this almost to bde's suggested version.obrien1999-02-181-17/+13
| |
* | bde suggests not to trust ${COPY} to always be defined.obrien1999-02-181-17/+13
|/ | | | also fix style bugs submitted by Bruce
* bmake framework for ISC-DHCP clientobrien1999-02-101-0/+30
OpenPOWER on IntegriCloud