From: phk Date: Tue, 25 Sep 2007 07:32:15 +0000 (+0000) Subject: Bail if we get unknown address families X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af40cd4137980bf8aa1739c68f7bc9f190d12f07;p=varnish Bail if we get unknown address families git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2026 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_vrt.c b/varnish-cache/bin/varnishd/cache_vrt.c index 713b42e3..e7813a49 100644 --- a/varnish-cache/bin/varnishd/cache_vrt.c +++ b/varnish-cache/bin/varnishd/cache_vrt.c @@ -469,6 +469,8 @@ VRT_IP_string(struct sess *sp, struct sockaddr *sa) case AF_INET6: len = sizeof(struct sockaddr_in6); break; + default: + INCOMPL(); } XXXAN(len); TCP_name(sa, len, h, sizeof h, p, sizeof p);