]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
#ifdef EPFNOSUPPORT
authorMark Andrews <marka@isc.org>
Mon, 12 Apr 2004 07:02:05 +0000 (07:02 +0000)
committerMark Andrews <marka@isc.org>
Mon, 12 Apr 2004 07:02:05 +0000 (07:02 +0000)
lib/bind/resolv/res_send.c

index 6bf3ec48ac9fc94d48b9fda155aebc05fa722736..71e8a8ee60c6ae6bcd841500425dd0d67be869f7 100644 (file)
@@ -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.5.2.4 2004/03/16 12:35:37 marka Exp $";
+static const char rcsid[] = "$Id: res_send.c,v 1.5.2.5 2004/04/12 07:02:05 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);