mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge #101043: nixos/kresd: Listen on IPv4 wildcard, too
This makes sense to me. I can't see any reference (incl. PR #78628)
why that commit of mine (ae74a0e27c
) used 127.0.0.1 instead of 0.0.0.0
This commit is contained in:
commit
6e562fd6a7
@ -15,7 +15,7 @@ let
|
||||
(throw "services.kresd.*: incorrect address specification '${addr}'")
|
||||
[ al_v4 al_v6 al_portOnly ];
|
||||
port = last al;
|
||||
addrSpec = if al_portOnly == null then "'${head al}'" else "{'::', '127.0.0.1'}";
|
||||
addrSpec = if al_portOnly == null then "'${head al}'" else "{'::', '0.0.0.0'}";
|
||||
in # freebind is set for compatibility with earlier kresd services;
|
||||
# it could be configurable, for example.
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user