]> git.pld-linux.org Git - packages/xtables-addons.git/blame - xtables-addons-geoip-dbpath.patch
- xt version of iptables-geoip-dbpath.patch
[packages/xtables-addons.git] / xtables-addons-geoip-dbpath.patch
CommitLineData
df249132 1diff -upr xtables-addons-1.5.4.1/extensions/libxt_geoip.c xtables-addons-1.5.4.1/extensions/libxt_geoip.c
2--- xtables-addons-1.5.4.1/extensions/libxt_geoip.c 2008-04-26 12:57:08.000000000 +0200
3+++ xtables-addons-1.5.4.1/extensions/libxt_geoip.c 2008-05-23 13:41:56.351239875 +0200
4@@ -26,7 +26,7 @@
5 #include <unistd.h>
6 #include <xtables.h>
7 #include "xt_geoip.h"
8-#define GEOIP_DB_DIR "/var/geoip"
9+#define GEOIP_DB_DIR "/var/lib/geoip"
10
11 static void geoip_help(void)
12 {
13diff -upr xtables-addons-1.5.4.1/extensions/libxt_geoip.man xtables-addons-1.5.4.1/extensions/libxt_geoip.man
14--- xtables-addons-1.5.4.1/extensions/libxt_geoip.man 2008-04-26 12:57:08.000000000 +0200
15+++ xtables-addons-1.5.4.1/extensions/libxt_geoip.man 2008-05-23 13:42:17.849762235 +0200
16@@ -11,6 +11,6 @@ The country is inputed by its ISO3166 co
17 .P
18 The extra files you will need is the binary database files. They are generated
19 from a country-subnet database with the geoip_csv_iv0.pl tool, available at
20-http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/geoip/
21+http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/lib/geoip/
22 as the shared library is statically looking for this pathname (e.g.
23-/var/geoip/LE/de.iv0).
24+/var/lib/geoip/LE/de.iv0).
This page took 0.033756 seconds and 4 git commands to generate.