diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-10-31 23:20:22 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-10-31 23:37:47 -0400 |
commit | f37ad658eada78384764c7d6db3a7f3ad8ad283e (patch) | |
tree | 136698f9f974e3ac4ed51bd4344b80eb22eda3a1 /tests | |
parent | 28d46d9d4317180b348ad5baeddad8ef25ed430a (diff) | |
download | patches-f37ad658eada78384764c7d6db3a7f3ad8ad283e.tar patches-f37ad658eada78384764c7d6db3a7f3ad8ad283e.tar.gz |
services: ntp: Fix a crash when using legacy configuration.
Fixes issue #37504 (see: https://bugs.gnu.org/37504).
The bug was caused by the fact that destructuring an <ntp-configuration>
record using match would bind the 'servers' field without using the
compatibility accessor.
* gnu/services/networking.scm (ntp-shepherd-service): Replace `match-lambda'
by distinct `lambda' and `match' calls, so that the 'servers' field can be
generated by applying the `ntp-configuration-servers' procedure to the
configuration object.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions