diff options
| author | Roy Marples <roy@marples.name> | 2017-06-16 09:38:29 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-06-16 09:38:29 +0100 |
| commit | 08d08baaea69d5e0fd844bcd12442f9a0def3bfb (patch) | |
| tree | 0afbffc9002d1e538509783013e75259fb286c5b /hooks | |
| parent | 75c085753c3ab542e79a05a4874e178dbb5cf53c (diff) | |
| download | dhcpcd-08d08baaea69d5e0fd844bcd12442f9a0def3bfb.tar.xz | |
Clarify RFC952 and RFC1123 to justify domain name restriction dhcpcd imposes.
Diffstat (limited to 'hooks')
| -rw-r--r-- | hooks/dhcpcd-run-hooks.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hooks/dhcpcd-run-hooks.in b/hooks/dhcpcd-run-hooks.in index 076ffb2b..4490fa9b 100644 --- a/hooks/dhcpcd-run-hooks.in +++ b/hooks/dhcpcd-run-hooks.in @@ -198,8 +198,7 @@ syslog() fi } -# Check for a valid domain name as per RFC1123 with the exception of -# allowing - and _ as they seem to be widely used. +# Check for a valid name as per RFC952 and RFC1123 section 2.1 valid_domainname() { local name="$1" label |
