services: openntpd: Fix the config generation code.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sat, 7 Sep 2019 03:37:37 +0000 (12:37 +0900)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sun, 8 Sep 2019 14:15:32 +0000 (23:15 +0900)
commitccdfae388d61f2263a085a4ddac8cb2919d01531
tree2482e978bf5a1d925c16367c03d1d8c21fcfd304
parent2625abc6aa5df66a6503e906b7592691452954f5
services: openntpd: Fix the config generation code.

This fixes issue #37318 (see: http://bugs.gnu.org/37318).

* gnu/services/networking.scm (openntpd-configuration->string): Rewrite in
order to make the "openntpd configuration generation sanity check" test pass.
gnu/services/networking.scm