diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-18 17:55:04 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-20 16:21:40 +0100 |
commit | 4df584aeac56fb6575ba43bc94f60f04522caf88 (patch) | |
tree | d19e4eda0c4147074f67636bbe438de949376f31 /gnu/system.scm | |
parent | ddf9345dfec208611261ab06052de47fe8873f88 (diff) | |
download | guix-4df584aeac56fb6575ba43bc94f60f04522caf88.tar guix-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 'gnu/system.scm')
0 files changed, 0 insertions, 0 deletions