summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2024-03-13 20:45:46 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-04-04 15:40:00 +0200
commite0d5d8bf9a81b58660f19482a723342c7506ad95 (patch)
treed0e00b8bdba6d93cb3aad64bab7282e559a4b37e /include
parentf681d1c0ebd08c7d43077eda5eb4054351043dbe (diff)
downloadbarebox-e0d5d8bf9a81b58660f19482a723342c7506ad95.tar.gz
barebox-e0d5d8bf9a81b58660f19482a723342c7506ad95.tar.xz
common: hostname: validate the provided hostname
Port the systemd hostname_is_valid() function to perform hostname validation and inform the user about a invalid hostname. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20240313194547.3725723-3-m.felsch@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions