[<--] Indice [-->]

From eflags@softhome.net
Date Tue, 11 Jun 2002 19:15:04 +0200
Subject [HaCkmEeTiNg] Gtk-gnutella PATCH

Mi pare interessasse...
Non l'ho manco provata, non avendo la rete locale...
Se funziona (dovrebbe) mettetela pure sul sito.

--8<--->CUT HERE<----->gtk-gnutella-0.85-lan.patch
--- gtk-gnutella-0.85/src/hosts.c       Thu Apr  4 22:03:05 2002
+++ gtk-gnutella-0.85-privaddrs/src/hosts.c     Mon Jun  3 13:02:13 2002
@@ -286,7 +286,7 @@
	if (!ip || !port)
		return FALSE;                   /* IP == 0 || Port == 0 */

-	if (is_private_ip(ip))
+	if (!(is_private_ip(ip)))
		return FALSE;

	if (ip == (guint32) 0x01020304 || ip == (guint32) 0x01010101)
diff -ur gtk-gnutella-0.85/src/nodes.c gtk-gnutella-0.85-privaddrs/src/nodes.c
--- gtk-gnutella-0.85/src/nodes.c       Mon May 27 01:13:22 2002
+++ gtk-gnutella-0.85-privaddrs/src/nodes.c     Mon May 27 01:13:02 2002
@@ -1861,7 +1861,7 @@
		s->getline = NULL;
	}

-#define NO_RFC1918				/* XXX */
+#undef NO_RFC1918				/* eflags */

 #ifdef NO_RFC1918
	/* This needs to be a runtime option.  I could see a need for someone

--8<--->CUT HERE<-----

eflags
---
To unsubscribe from this list: send the line "unsubscribe hackmeeting" in
the body of a message to majordomo@kyuzz.org

[<--] Indice [-->]