summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-01-30 21:46:36 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-01-30 21:46:36 +0000
commit4fb4400bcfce402d8918e7ff74ee6ebd83e4574c (patch)
tree3d6991aec21f8d1ca6dbd7ec0a4bf4c5d375cd0b /lib
parentf087270de84eaca5c053f4b2ba39a36883cb7576 (diff)
getLocalAddress(): return 127.0.0.1 if the hostname doesn't resolve.
This code already does this if IPv6 support is compiled in. It was dereferencing a NULL pointer in the IPv4 only case.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions