Just a heads-up, the patch does not work with hostnames that contain a dash. I had to change
[a-z][a-z0-9]
to:
[a-z][a-z0-9\-]
to make the patch work. Besides that, thanks for the patch!
Just a heads-up, the patch does not work with hostnames that contain a dash.
I had to change
[a-z][a-z0-9]
to:
[a-z][a-z0-9\-]
to make the patch work. Besides that, thanks for the patch!