xtables-addons/xtables-addons-3.25-geoipmax.patch
2025-02-13 16:41:27 -05:00

13 lines
566 B
Diff

diff -Nur xtables-addons-3.25.old/extensions/xt_geoip.h xtables-addons-3.25/extensions/xt_geoip.h
--- xtables-addons-3.25.old/extensions/xt_geoip.h 2023-08-18 11:00:10.000000000 -0400
+++ xtables-addons-3.25/extensions/xt_geoip.h 2025-02-13 16:21:52.402168545 -0500
@@ -17,7 +17,7 @@
XT_GEOIP_DST = 1 << 1, /* Perform check on Destination IP */
XT_GEOIP_INV = 1 << 2, /* Negate the condition */
- XT_GEOIP_MAX = 31, /* Maximum of countries */
+ XT_GEOIP_MAX = 50, /* Maximum of countries */
};
/* Yup, an address range will be passed in with host-order */