| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
where the default route is bound to is the same device. Keep it
working for the single user or sysinstall mode, where we just do
what we did before.
Suggested by: dougb
|
|
|
|
|
|
| |
to the configuration state.
Noticed by: obrien
|
|
|
|
|
| |
- s/include/includes
- remove already merged files
|
| |
|
|
|
|
| |
* rev. 1.22
|
|
|
|
| |
* rev. 1.33/1.25
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| | |
cast it into a pid_t.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
more clear what it does.
Trim interface_active() to just do what it should do. Check
if we got link or not and if the NIC supports it. No special
treatment for mediachecks here anymore.
Simplify the code a lot, and remove doublicated parts.
Fix two minor spelling errors.
Add one missing #ifdef ENABLE_POLLING_MODE
Reviewed by: mdodd
|
| |
| |
| |
| |
| |
| |
| | |
TRUE for them.
Reported by: mdodd
Tested by: Craig Rodrigues <rodrigc@crodrigues.org>
|
| | |
|
| |
| |
| |
| |
| |
| | |
struct to be able to turn polling on/off.
Tested by: Larry Rosenman <ler@lerctr.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Rename linkstatus to linkstate which is more correct.
- Sort any leases each time we loose and regain link. With the first
version we spammed the dhclient.leases file.
- When there was no link on a interface, polling has been done twice.
This has been fixed with a bigger sleep interval.
- interface_active() now returns only a assumed state of the link.
If we are using media settings, we cannot be sure that the link
actually works. That means we assume that the link is working and
continue to send requests as usual on the interface and loop over
all possible media options. Polling is still done. If your interface
gets suddenly link, dhclient will send a dhcp discover request.
After all media settings have been tried a few times, dhclient will
sleep. If one does change networks very often, it can help to set the
"retry timeout" to a low value like 100 seconds. The default is over
six minutes.
Tested by: Larry Rosenman <ler@lerctr.org>, imp
|
| |
| |
| |
| |
| |
| | |
Add bogospaces to match the ISC style.
Suggested by: eivind
|
| |
| |
| |
| |
| |
| |
| | |
Submitted by: C J Michaels <cjm2@earthling.net>
Reviewed by: David W. Hankins
PR: 38778
ISC-Bug: 5754
|
| |
| |
| |
| | |
after 2 x polling time.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| |
| |
| | |
path fixes.
Submitted by: Tim Kientzle <kientzle@acm.org>
|
| |
| |
| |
| | |
Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fix will be committed to the ISC repo later, but for now
take this file out of the vendor tree.
Reviewed by: phk
Approved by: murray
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| | |
isc_dhcp_3_0_1_rc11.
|
| | |
|
| |
| |
| |
| | |
into isc_dhcp_3_0_1_rc11.
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| |
| | |
This fixes a security vulnerability in the bundled resolver library.
Requested by: scottl(re)
|
| | |
|
| |
| |
| |
| | |
(import approved by: re)
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* $FreeBSD$
* connect std{in,out,err} (r1.19).
* prefer strlcpy to strpy (r1.13).
* quiet by default (r1.6).
* document -D option.
|
| |
| |
| |
| |
| |
| | |
* $FreeBSD$ line.
* Prefer strlcpy to strcpy (r1.6).
* dhclient-script pathname.
|