[master] 52b16a9 Ignore strange protocols in resolver results

Poul-Henning Kamp phk at FreeBSD.org
Mon Sep 28 09:19:24 CEST 2015


commit 52b16a94ec5383ecfeb9e4998812ba0eee9161c0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 28 07:19:08 2015 +0000

    Ignore strange protocols in resolver results

diff --git a/lib/libvcc/vcc_utils.c b/lib/libvcc/vcc_utils.c
index 049c177..6b56959 100644
--- a/lib/libvcc/vcc_utils.c
+++ b/lib/libvcc/vcc_utils.c
@@ -177,8 +177,6 @@ rs_callback(void *priv, const struct suckaddr *vsa)
 		else if (VSA_Compare(vsa, rss->vsa6))
 			rss->wrong++;
 		rss->retval++;
-	} else {
-		WRONG("Wrong protocol");
 	}
 	return (0);
 }



More information about the varnish-commit mailing list