diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-01-30 21:46:36 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-01-30 21:46:36 +0000 |
commit | 4fb4400bcfce402d8918e7ff74ee6ebd83e4574c (patch) | |
tree | 3d6991aec21f8d1ca6dbd7ec0a4bf4c5d375cd0b /util | |
parent | f087270de84eaca5c053f4b2ba39a36883cb7576 (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 'util')
0 files changed, 0 insertions, 0 deletions