]> err.no Git - varnish/commitdiff
Bail if we get unknown address families
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 25 Sep 2007 07:32:15 +0000 (07:32 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 25 Sep 2007 07:32:15 +0000 (07:32 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2026 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_vrt.c

index 713b42e3a0eea679cff16d668370b2bd74aacebe..e7813a49ac6fba0e1a24cd12a3939e4885c66e62 100644 (file)
@@ -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);