Removed IPv6 linklocal check
[oweals/gnunet.git] / src / transport / plugin_transport_http.c
index 675645aa3b023c0a45b99f60c8523561094a238d..bf63769f7a29620bb9608085ed1a495c10fbe25b 100644 (file)
@@ -991,7 +991,7 @@ mdh_access_cb (void *cls,
   struct IPv4HttpAddress ipv4addr;
   struct IPv6HttpAddress ipv6addr;
 
-  struct HTTP_PeerContext *pc;
+  struct HTTP_PeerContext *pc = NULL;
   struct Session *ps = NULL;
   struct Session *ps_tmp = NULL;
 
@@ -2555,10 +2555,6 @@ http_plugin_address_suggested (void *cls,
   if (addrlen == sizeof (struct IPv6HttpAddress))
     {
       v6 = (struct IPv6HttpAddress *) addr;
-      if (IN6_IS_ADDR_LINKLOCAL (&v6->ipv6_addr))
-        {
-          return GNUNET_SYSERR;
-        }
 
       if (plugin->bind6_address!=NULL)
       {