Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3e13d5ed5283
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b82026db1a5c
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 28, 2019

  1. nixos/networkd: add ipv4-fallback and fallback as valid options t…

    …o `LinkLocalAddressing`
    
    Both options were introduced in systemd v243[1]. Those options can be
    used to ensure that LinkLocalAddressing is only configured for a given
    interface if DHCPv4 fails. To quote `systemd.network(5)`:
    
    ```
    If "fallback" or "ipv4-fallback" is specified, then an IPv4
    link-local address is configured only when DHCPv4 fails. If "fallback", an IPv6 link-local
    address is always configured, and if "ipv4-fallback", the address is not configured. Note
    that, the fallback mechanism works only when DHCPv4 client is enabled, that is, it requires
    "DHCP=yes" or "DHCP=ipv4".
    ```
    
    [1] systemd/systemd@8bc17bb
    Ma27 committed Oct 28, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    47724fc View commit details
  2. Merge pull request #72191 from Ma27/add-linklocal-option

    nixos/networkd: add `ipv4-fallback` and `fallback` as valid options to `LinkLocalAddressing`
    fpletz authored Oct 28, 2019
    Copy the full SHA
    b82026d View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 nixos/modules/system/boot/networkd.nix
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/networkd.nix
Original file line number Diff line number Diff line change
@@ -187,7 +187,7 @@ let
# Note: For DHCP the values both, none, v4, v6 are deprecated
(assertValueOneOf "DHCP" ["yes" "no" "ipv4" "ipv6" "both" "none" "v4" "v6"])
(assertValueOneOf "DHCPServer" boolValues)
(assertValueOneOf "LinkLocalAddressing" ["yes" "no" "ipv4" "ipv6"])
(assertValueOneOf "LinkLocalAddressing" ["yes" "no" "ipv4" "ipv6" "ipv4-fallback" "fallback"])
(assertValueOneOf "IPv4LLRoute" boolValues)
(assertValueOneOf "LLMNR" ["yes" "resolve" "no"])
(assertValueOneOf "MulticastDNS" ["yes" "resolve" "no"])