Revision: 14848
Author: adrian.chadd
Date: Tue Jan 18 17:09:57 2011
Log: Disable even doing IPv6 at the moment, rather than panic'ing when a v6
address appears here.
I'll properly IPv6-ify it later.
http://code.google.com/p/lusca-cache/source/detail?r=14848
Modified:
/playpen/LUSCA_HEAD_ipv6/src/net_db.c
=======================================
--- /playpen/LUSCA_HEAD_ipv6/src/net_db.c Tue Jan 11 21:34:35 2011
+++ /playpen/LUSCA_HEAD_ipv6/src/net_db.c Tue Jan 18 17:09:57 2011
@@ -1046,6 +1046,10 @@
if (NULL == n) {
/* try IP addr */
ia = ipcache_gethostbyname(request->host, 0);
+#warning netdb really does need ipv6'ing
+ if (ia != NULL && ipcacheGetAddrFamily(ia, ia->cur) != AF_INET)
+ return NULL;
+
if (NULL != ia)
n = netdbLookupAddr(ipcacheGetAddrV4(ia, ia->cur));
}
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.