mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 11:34:57 +02:00
pknock: bump internal match revision number
Do this so that previous iptables installations do not mistakenly operate with our new xt_pknock.
This commit is contained in:
@@ -334,6 +334,7 @@ static void pknock_save(const void *ip, const struct xt_entry_match *match)
|
|||||||
static struct xtables_match pknock_match = {
|
static struct xtables_match pknock_match = {
|
||||||
.name = "pknock",
|
.name = "pknock",
|
||||||
.version = XTABLES_VERSION,
|
.version = XTABLES_VERSION,
|
||||||
|
.revision = 1,
|
||||||
.family = AF_INET,
|
.family = AF_INET,
|
||||||
.size = XT_ALIGN(sizeof (struct ipt_pknock)),
|
.size = XT_ALIGN(sizeof (struct ipt_pknock)),
|
||||||
.userspacesize = XT_ALIGN(sizeof (struct ipt_pknock)),
|
.userspacesize = XT_ALIGN(sizeof (struct ipt_pknock)),
|
||||||
|
@@ -1076,6 +1076,7 @@ static void pknock_mt_destroy(const struct xt_mtdtor_param *par)
|
|||||||
|
|
||||||
static struct xt_match xt_pknock_mt_reg __read_mostly = {
|
static struct xt_match xt_pknock_mt_reg __read_mostly = {
|
||||||
.name = "pknock",
|
.name = "pknock",
|
||||||
|
.revision = 1,
|
||||||
.family = NFPROTO_IPV4,
|
.family = NFPROTO_IPV4,
|
||||||
.matchsize = sizeof (struct ipt_pknock),
|
.matchsize = sizeof (struct ipt_pknock),
|
||||||
.match = pknock_mt,
|
.match = pknock_mt,
|
||||||
|
Reference in New Issue
Block a user