diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2024-01-03 19:36:51 +0100 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2024-01-03 19:42:45 +0100 |
| commit | 7e45990c06adc32b7aaf196b36b20001c5f8ce42 (patch) | |
| tree | 6196efb8d84cd1722f33ea050134fbcf02b7a8f2 /pkgs/development/python-modules/rangehttpserver | |
| parent | cb274aea01fed6dc9a6f78b3c927f4e6f24c7876 (diff) | |
nixos/sshd: fix socket activated ports when using ListenAddress
Noticed that issue while reviewing #275633: when declaring
`ListenAddress host` without a port, all ports declared by
`Port`/`cfg.ports` will be used with `host` according to
`sshd_config(5)`.
However, if this is done and socket activation is used, only a socket
for port 22 is created instead of a sockets for each port from
`Port`/`cfg.ports`. This patch corrects that behavior.
Also added a regression test for this case.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
