]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-network.c
networkd: validate NTP server strings configured in .network files
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Nov 2016 16:00:25 +0000 (17:00 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 21 Nov 2016 21:58:26 +0000 (22:58 +0100)
commit265759908d674b059987453c80ae984da0642717
treee99da011339b140d71e5f432f9014c1df86af200
parent08a4849ec94fd06c3284994b91835b31a3a2f3aa
networkd: validate NTP server strings configured in .network files

Let's be a bit stricter, and make sure users only configure proper DNS names or
IP addresses, but not any other strings.
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd-network.h