Skip to content

Commit e0786b6

Browse files
sysvinitctheune
authored andcommitted
router: ensure kresd reloads drop stale host mappings
PL-134065
1 parent c3b4322 commit e0786b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/roles/router/kresd/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ lib.mkIf role.enable {
9393
-- ensure that the hosts file can be reloaded by sighup at runtime.
9494
9595
local function load_private_hosts()
96-
hints.add_hosts('/etc/nixos/rfc1918-hosts')
96+
hints.config('/etc/nixos/rfc1918-hosts')
9797
hints.use_nodata(false)
9898
end
9999

0 commit comments

Comments
 (0)