r2026 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Sep 25 09:32:15 CEST 2007


Author: phk
Date: 2007-09-25 09:32:15 +0200 (Tue, 25 Sep 2007)
New Revision: 2026

Modified:
   trunk/varnish-cache/bin/varnishd/cache_vrt.c
Log:
Bail if we get unknown address families


Modified: trunk/varnish-cache/bin/varnishd/cache_vrt.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt.c	2007-09-25 07:30:38 UTC (rev 2025)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt.c	2007-09-25 07:32:15 UTC (rev 2026)
@@ -469,6 +469,8 @@
 	case AF_INET6:
 		len = sizeof(struct sockaddr_in6);
 		break;
+	default:
+		INCOMPL();
 	}
 	XXXAN(len);
 	TCP_name(sa, len, h, sizeof h, p, sizeof p);




More information about the varnish-commit mailing list