summary refs log tree commit diff
path: root/tests/swh.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-18 17:55:04 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-20 16:21:40 +0100
commit4df584aeac56fb6575ba43bc94f60f04522caf88 (patch)
treed19e4eda0c4147074f67636bbe438de949376f31 /tests/swh.scm
parentddf9345dfec208611261ab06052de47fe8873f88 (diff)
downloadguix-4df584aeac56fb6575ba43bc94f60f04522caf88.tar.gz
services: static-networking: Sanitize <network-address> values.
This makes sure users do not mistakenly configuring a network with "/0"
as its netmask.

* gnu/services/base.scm (assert-valid-address): New procedure.
(<network-address>)[value]: Add it as 'sanitize'.
Diffstat (limited to 'tests/swh.scm')
0 files changed, 0 insertions, 0 deletions