Age | Commit message (Collapse) | Author | Files | Lines |
|
Support for additional DHCP clients is now easy to add.
|
|
After several requests, here is SkipDAD to bypass Duplicate Address
Detection.
|
|
New timeout is 30 seconds, which equals the current dhcpcd default.
|
|
Regardless of the DHCP client, leases are not released by default.
This introduces a new configuration parameter: DHCPReleaseOnStop, which
can be used to change the default behavior.
|
|
This adds to 032df. Custom and automatically (in case of IPv6) added
routes are now deleted when the interface is brought down.
|
|
Redirect syntax and a modeline.
|
|
- Add static routes prior to setting the default IP4 gateway
(github/pull/43)
- Set sysctl property net.ipv6.conf.<interface>.accept_ra earlier
(FS#35788)
|
|
By default, dhcpcd requests leases for both versions of IPv6.
In the past, dhcpcd did not support IPv6, so this commits restores old
behavior.
|
|
When switching networks in auto.action, the addresses are not flushed. This
is especially problematic with stateless ipv6 autoconfigutation, as invalid
IPs may stay around until their (potentially very long) lifetime has expired.
bring_interface_down is always called after ip_unset everywhere else, so
this change does not affect anything else.
V2: Make sure not to flush the link local address.
|
|
When interpreted as an array, the empty string represents a 1-element
array consisting of the empty string. This is actually very reasonable.
Reported by: Thomas Bächler <thomas@archlinux.org>
|
|
Router advertisements can tell clients to not generate a public address automatically (AdvAutonomous off).
Reported by: Jonne Haß
|
|
Split them into different variables for different clients.
Also, IP6 gets its own, so that it can have options different from the
IP4 invocation.
|
|
A default netmask makes no sense (except possibly /32).
Spotted by: Thomas Bächler <thomas@archlinux.org>
|
|
- Stop dhcpcd also when DHCPClient is not specified
- Exit successfully in ifplugd on going down
|
|
This settles a style for 'case' statements:
The label and closing colons are indented with two spaces,
The body is indented with two more, totalling four spaces.
|
|
This commit contains the refactoring and rewriting of code.
|