git: inet: return EHOSTDOWN if we cannot resolve an address in time
roy at crater.dragonflybsd.org
Mon Sep 9 09:59:52 PDT 2019
Author: Roy Marples <roy at marples.name>
Date: Mon Sep 9 17:48:11 2019 +0100
inet: return EHOSTDOWN if we cannot resolve an address in time
This allows programs to make informed decisions about what to do
if anything goes wrong trying to resolve the address.
For example, ping(8) now reports sendto: Host is down, which is
more useful than not reporting anything.
Summary of changes:
sys/net/if_ethersubr.c | 5 +++--
sys/netinet/if_ether.c | 36 +++++++++++++++++++++++++++---------
2 files changed, 30 insertions(+), 11 deletions(-)
DragonFly BSD source repository
More information about the Commits