commit | 9010902954a40b59d0bf3df3ccbc3140a653e2bc | [log] [download] |
---|---|---|
author | djm@openbsd.org <djm@openbsd.org> | Fri Jan 16 07:19:48 2015 +0000 |
committer | Damien Miller <djm@mindrot.org> | Fri Jan 16 18:24:49 2015 +1100 |
tree | 59cf3684ef95f7806e60c10f88b4e8ed4cefdc7d | |
parent | 2ae4f337b2a5fb2841b6b0053b49496fef844d1c [diff] |
upstream commit when hostname canonicalisation is enabled, try to parse hostnames as addresses before looking them up for canonicalisation. fixes bz#2074 and avoids needless DNS lookups in some cases; ok markus