Commit 4f734ddf authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Bail if we get unknown address families


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2026 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 43ade053
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment