diff options
author | Damien Miller <djm@mindrot.org> | 2008-07-14 21:37:36 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-07-14 21:37:36 +1000 |
commit | c4657ef1818c67e91115389a69ef783412fd54b7 (patch) | |
tree | f86bf4b3212b32010f473baa414a5321a0f99aee /openbsd-compat/fake-rfc2553.h | |
parent | 1fc231cbb50f899a1aa6c919c4d7750876b01f2e (diff) |
- (djm) [openbsd-compat/fake-rfc2553.c openbsd-compat/fake-rfc2553.h]
return EAI_FAMILY when trying to lookup unsupported address family;
from vinschen AT redhat.com
Diffstat (limited to 'openbsd-compat/fake-rfc2553.h')
-rw-r--r-- | openbsd-compat/fake-rfc2553.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h index 13240970..3e9090fc 100644 --- a/openbsd-compat/fake-rfc2553.h +++ b/openbsd-compat/fake-rfc2553.h @@ -1,4 +1,4 @@ -/* $Id: fake-rfc2553.h,v 1.15 2008/06/10 13:52:51 dtucker Exp $ */ +/* $Id: fake-rfc2553.h,v 1.16 2008/07/14 11:37:37 djm Exp $ */ /* * Copyright (C) 2000-2003 Damien Miller. All rights reserved. @@ -129,6 +129,9 @@ struct sockaddr_in6 { #ifndef EAI_SYSTEM # define EAI_SYSTEM (INT_MAX - 4) #endif +#ifndef EAI_FAMILY +# define EAI_FAMILY (INT_MAX - 5) +#endif #ifndef HAVE_STRUCT_ADDRINFO struct addrinfo { |