svn commit: samba r15876 - in branches/SAMBA_4_0/source/auth/kerberos: .

jelmer at samba.org jelmer at samba.org
Wed May 24 22:17:02 GMT 2006


Author: jelmer
Date: 2006-05-24 22:17:01 +0000 (Wed, 24 May 2006)
New Revision: 15876

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15876

Log:
Fix build on IPv6-less systems.

Modified:
   branches/SAMBA_4_0/source/auth/kerberos/krb5_init_context.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/kerberos/krb5_init_context.c
===================================================================
--- branches/SAMBA_4_0/source/auth/kerberos/krb5_init_context.c	2006-05-24 22:15:03 UTC (rev 15875)
+++ branches/SAMBA_4_0/source/auth/kerberos/krb5_init_context.c	2006-05-24 22:17:01 UTC (rev 15876)
@@ -257,9 +257,11 @@
 		case PF_INET:
 			name = "ipv4";
 			break;
+#ifdef PF_INET6
 		case PF_INET6:
 			name = "ipv6";
 			break;
+#endif
 		default:
 			talloc_free(smb_krb5);
 			return EINVAL;



More information about the samba-cvs mailing list