{
.family = NFPROTO_IPV6,
.name = "geoip",
- .revision = 1,
+ .revision = 2,
.version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_geoip_match_info)),
.userspacesize = offsetof(struct xt_geoip_match_info, mem),
{
.family = NFPROTO_IPV4,
.name = "geoip",
- .revision = 1,
+ .revision = 2,
.version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_geoip_match_info)),
.userspacesize = offsetof(struct xt_geoip_match_info, mem),
static struct xt_match xt_geoip_match[] __read_mostly = {
{
.name = "geoip",
- .revision = 1,
+ .revision = 2,
.family = NFPROTO_IPV6,
.match = xt_geoip_mt6,
.checkentry = xt_geoip_mt_checkentry,
},
{
.name = "geoip",
- .revision = 1,
+ .revision = 2,
.family = NFPROTO_IPV4,
.match = xt_geoip_mt4,
.checkentry = xt_geoip_mt_checkentry,
XT_GEOIP_DST = 1 << 1, /* Perform check on Destination IP */
XT_GEOIP_INV = 1 << 2, /* Negate the condition */
- XT_GEOIP_MAX = 15, /* Maximum of countries */
+ XT_GEOIP_MAX = 31, /* Maximum of countries */
};
/* Yup, an address range will be passed in with host-order */