Commit fa91642
committed
Allow single label hostname in format string
When validating hostname format strings with module fqdn, only FQDNs
were accepted, as the minimum label length of the FQDN class is 2.
Therefore, single label hostnames like "localhost" were rejected.
Fixed this by validating with a minimum label length of 1.
Signed-off-by: Stephan Wurm <stephan.wurm@a-eberle.de>1 parent 59e5e1d commit fa91642
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
0 commit comments