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:
Vladimír Čunát 2021-03-28 20:40:52 +02:00
commit 6e562fd6a7
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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.
''