Change IPTABLES_VERSION to XTABLES_VERSION

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
This commit is contained in:
Jan Engelhardt
2008-02-21 17:24:33 +01:00
parent 2fbfbe6cd4
commit dd42c61581
7 changed files with 8 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ fi;
regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \ regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \ -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \ -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
-Winline -pipe -DIPTABLES_VERSION=\\\"$PACKAGE_VERSION\\\" \ -Winline -pipe -DXTABLES_VERSION=\\\"$PACKAGE_VERSION\\\" \
-DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\""; -DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\"";
kinclude_CFLAGS=""; kinclude_CFLAGS="";
if [[ -n "$kbuilddir" ]]; then if [[ -n "$kbuilddir" ]]; then

View File

@@ -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 = { static struct xtables_target chaos_tg_reg = {
.version = IPTABLES_VERSION, .version = XTABLES_VERSION,
.name = "CHAOS", .name = "CHAOS",
.family = AF_INET, .family = AF_INET,
.size = XT_ALIGN(sizeof(struct xt_chaos_tginfo)), .size = XT_ALIGN(sizeof(struct xt_chaos_tginfo)),

View File

@@ -29,7 +29,7 @@ static void delude_tg_check(unsigned int flags)
} }
static struct xtables_target delude_tg_reg = { static struct xtables_target delude_tg_reg = {
.version = IPTABLES_VERSION, .version = XTABLES_VERSION,
.name = "DELUDE", .name = "DELUDE",
.revision = 0, .revision = 0,
.family = AF_INET, .family = AF_INET,

View File

@@ -88,7 +88,7 @@ logmark_tg_save(const void *ip, const struct xt_entry_target *target)
} }
static struct xtables_target logmark_tg_reg = { static struct xtables_target logmark_tg_reg = {
.version = IPTABLES_VERSION, .version = XTABLES_VERSION,
.name = "LOGMARK", .name = "LOGMARK",
.revision = 0, .revision = 0,
.family = AF_INET, .family = AF_INET,
@@ -103,7 +103,7 @@ static struct xtables_target logmark_tg_reg = {
}; };
static struct xtables_target logmark_tg6_reg = { static struct xtables_target logmark_tg6_reg = {
.version = IPTABLES_VERSION, .version = XTABLES_VERSION,
.name = "LOGMARK", .name = "LOGMARK",
.revision = 0, .revision = 0,
.family = AF_INET6, .family = AF_INET6,

View File

@@ -18,7 +18,7 @@ static void tarpit_tg_check(unsigned int flags)
} }
static struct xtables_target tarpit_tg_reg = { static struct xtables_target tarpit_tg_reg = {
.version = IPTABLES_VERSION, .version = XTABLES_VERSION,
.name = "TARPIT", .name = "TARPIT",
.family = AF_INET, .family = AF_INET,
.size = XT_ALIGN(0), .size = XT_ALIGN(0),

View File

@@ -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 = { static struct xtables_target tee_tg_reg = {
.name = "TEE", .name = "TEE",
.version = IPTABLES_VERSION, .version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_tee_tginfo)), .size = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
.userspacesize = XT_ALIGN(sizeof(struct xt_tee_tginfo)), .userspacesize = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
.help = tee_tg_help, .help = tee_tg_help,

View File

@@ -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 = { static struct xtables_match portscan_mt_reg = {
.version = IPTABLES_VERSION, .version = XTABLES_VERSION,
.name = "portscan", .name = "portscan",
.revision = 0, .revision = 0,
.family = AF_INET, .family = AF_INET,