From af40cd4137980bf8aa1739c68f7bc9f190d12f07 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 25 Sep 2007 07:32:15 +0000 Subject: [PATCH] Bail if we get unknown address families git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2026 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_vrt.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5