From 4dd35930316d0d83fa47815d3399f8ffaf1383b4 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Tue, 22 Nov 2011 16:33:34 +0100 Subject: [PATCH] Revert suprious change of network.c --- network.c | 1 - 1 file changed, 1 deletion(-) diff --git a/network.c b/network.c index b72d04a..8f4c3b8 100644 --- a/network.c +++ b/network.c @@ -59,7 +59,6 @@ port_listen(char *port, int max_connections) static bool is_private(struct in_addr *in) { - return true; return (ntohl(in->s_addr) & 0xff000000) >> 24 == 10 || (ntohl(in->s_addr) & 0xfff00000) >> 16 == 172 * 256 + 16 || (ntohl(in->s_addr) & 0xffff0000) >> 16 == 192 * 256 + 168; -- 2.11.4.GIT