mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 11:10:00 -04:00
#ifdef EPFNOSUPPORT
This commit is contained in:
parent
80cc19dc26
commit
7b18445dd6
1 changed files with 5 additions and 1 deletions
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static const char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
|
||||
static const char rcsid[] = "$Id: res_send.c,v 1.9 2004/03/18 02:58:02 marka Exp $";
|
||||
static const char rcsid[] = "$Id: res_send.c,v 1.10 2004/04/12 07:07:06 marka Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/*
|
||||
|
|
@ -612,7 +612,9 @@ send_vc(res_state statp,
|
|||
if (statp->_vcsock < 0) {
|
||||
switch (errno) {
|
||||
case EPROTONOSUPPORT:
|
||||
#ifdef EPFNOSUPPORT
|
||||
case EPFNOSUPPORT:
|
||||
#endif
|
||||
case EAFNOSUPPORT:
|
||||
Perror(statp, stderr, "socket(vc)", errno);
|
||||
return (0);
|
||||
|
|
@ -773,7 +775,9 @@ send_dg(res_state statp,
|
|||
if (EXT(statp).nssocks[ns] < 0) {
|
||||
switch (errno) {
|
||||
case EPROTONOSUPPORT:
|
||||
#ifdef EPFNOSUPPORT
|
||||
case EPFNOSUPPORT:
|
||||
#endif
|
||||
case EAFNOSUPPORT:
|
||||
Perror(statp, stderr, "socket(dg)", errno);
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue