mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 12:45:13 +02:00
Change IPTABLES_VERSION to XTABLES_VERSION
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
This commit is contained in:
@@ -50,7 +50,7 @@ fi;
|
||||
regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
|
||||
-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
|
||||
-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
|
||||
-Winline -pipe -DIPTABLES_VERSION=\\\"$PACKAGE_VERSION\\\" \
|
||||
-Winline -pipe -DXTABLES_VERSION=\\\"$PACKAGE_VERSION\\\" \
|
||||
-DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\"";
|
||||
kinclude_CFLAGS="";
|
||||
if [[ -n "$kbuilddir" ]]; then
|
||||
|
@@ -93,7 +93,7 @@ static void chaos_tg_save(const void *ip, const struct xt_entry_target *target)
|
||||
}
|
||||
|
||||
static struct xtables_target chaos_tg_reg = {
|
||||
.version = IPTABLES_VERSION,
|
||||
.version = XTABLES_VERSION,
|
||||
.name = "CHAOS",
|
||||
.family = AF_INET,
|
||||
.size = XT_ALIGN(sizeof(struct xt_chaos_tginfo)),
|
||||
|
@@ -29,7 +29,7 @@ static void delude_tg_check(unsigned int flags)
|
||||
}
|
||||
|
||||
static struct xtables_target delude_tg_reg = {
|
||||
.version = IPTABLES_VERSION,
|
||||
.version = XTABLES_VERSION,
|
||||
.name = "DELUDE",
|
||||
.revision = 0,
|
||||
.family = AF_INET,
|
||||
|
@@ -88,7 +88,7 @@ logmark_tg_save(const void *ip, const struct xt_entry_target *target)
|
||||
}
|
||||
|
||||
static struct xtables_target logmark_tg_reg = {
|
||||
.version = IPTABLES_VERSION,
|
||||
.version = XTABLES_VERSION,
|
||||
.name = "LOGMARK",
|
||||
.revision = 0,
|
||||
.family = AF_INET,
|
||||
@@ -103,7 +103,7 @@ static struct xtables_target logmark_tg_reg = {
|
||||
};
|
||||
|
||||
static struct xtables_target logmark_tg6_reg = {
|
||||
.version = IPTABLES_VERSION,
|
||||
.version = XTABLES_VERSION,
|
||||
.name = "LOGMARK",
|
||||
.revision = 0,
|
||||
.family = AF_INET6,
|
||||
|
@@ -18,7 +18,7 @@ static void tarpit_tg_check(unsigned int flags)
|
||||
}
|
||||
|
||||
static struct xtables_target tarpit_tg_reg = {
|
||||
.version = IPTABLES_VERSION,
|
||||
.version = XTABLES_VERSION,
|
||||
.name = "TARPIT",
|
||||
.family = AF_INET,
|
||||
.size = XT_ALIGN(0),
|
||||
|
@@ -94,7 +94,7 @@ static void tee_tg_save(const void *ip, const struct xt_entry_target *target)
|
||||
|
||||
static struct xtables_target tee_tg_reg = {
|
||||
.name = "TEE",
|
||||
.version = IPTABLES_VERSION,
|
||||
.version = XTABLES_VERSION,
|
||||
.size = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
|
||||
.userspacesize = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
|
||||
.help = tee_tg_help,
|
||||
|
@@ -100,7 +100,7 @@ static void portscan_mt_save(const void *ip, const struct xt_entry_match *match)
|
||||
}
|
||||
|
||||
static struct xtables_match portscan_mt_reg = {
|
||||
.version = IPTABLES_VERSION,
|
||||
.version = XTABLES_VERSION,
|
||||
.name = "portscan",
|
||||
.revision = 0,
|
||||
.family = AF_INET,
|
||||
|
Reference in New Issue
Block a user