From 4d39f186bcf88889355c6c59c337bde11089e994 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 7 Aug 2014 19:30:33 +0000 Subject: xtables-addons: remove version 1.x for old kernels Signed-off-by: Felix Fietkau SVN-Revision: 42047 --- .../patches-1.x/300-geoip-endian-detection.patch | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 package/network/utils/xtables-addons/patches-1.x/300-geoip-endian-detection.patch (limited to 'package/network/utils/xtables-addons/patches-1.x/300-geoip-endian-detection.patch') diff --git a/package/network/utils/xtables-addons/patches-1.x/300-geoip-endian-detection.patch b/package/network/utils/xtables-addons/patches-1.x/300-geoip-endian-detection.patch deleted file mode 100644 index 842e7af..0000000 --- a/package/network/utils/xtables-addons/patches-1.x/300-geoip-endian-detection.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/extensions/libxt_geoip.c -+++ b/extensions/libxt_geoip.c -@@ -59,13 +59,13 @@ geoip_get_subnets(const char *code, uint - - /* Use simple integer vector files */ - if (nfproto == NFPROTO_IPV6) { --#if __BYTE_ORDER == _BIG_ENDIAN -+#if BYTE_ORDER == BIG_ENDIAN - snprintf(buf, sizeof(buf), GEOIP_DB_DIR "/BE/%s.iv6", code); - #else - snprintf(buf, sizeof(buf), GEOIP_DB_DIR "/LE/%s.iv6", code); - #endif - } else { --#if __BYTE_ORDER == _BIG_ENDIAN -+#if BYTE_ORDER == BIG_ENDIAN - snprintf(buf, sizeof(buf), GEOIP_DB_DIR "/BE/%s.iv4", code); - #else - snprintf(buf, sizeof(buf), GEOIP_DB_DIR "/LE/%s.iv4", code); -- cgit v1.1