Code

Use `AI_CANONNAME' if it's defined.
authorFlorian Forster <octo@verplant.org>
Sat, 3 Jun 2006 08:33:47 +0000 (10:33 +0200)
committerFlorian Forster <octo@verplant.org>
Sat, 3 Jun 2006 08:33:47 +0000 (10:33 +0200)
commit5dfc665931b0e8a7242c2fb982f899e98d9c3c24
treeb7e051522397803cd44077080eb0e6e2958c543b
parent3b92b82fc65a2797189ae49f98500a537fbbfc93
Use `AI_CANONNAME' if it's defined.

This will follow PTR records. `www.verplant.org' is changed to `verplant.org',
for example. It's not what I intended (I wanted a reverse lookup of
IP-addresses), but still better than what we had originally. I don't know if
I'll leave it like this. Might be though..
src/liboping.c