]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: fix indent of vtable
authorJan Engelhardt <jengelh@medozas.de>
Tue, 15 Feb 2011 11:02:51 +0000 (12:02 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 16 Feb 2011 01:46:12 +0000 (02:46 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libip6t_LOG.c
extensions/libipt_LOG.c
extensions/libipt_ecn.c
extensions/libxt_recent.c

index af5370506578888b92a8421f4f81ccb62a314f2d..e9c738f167d1cdbd9e81f36ebd3d92dce7987ad4 100644 (file)
@@ -257,17 +257,17 @@ static void LOG_save(const void *ip, const struct xt_entry_target *target)
 }
 
 static struct xtables_target log_tg6_reg = {
-    .name          = "LOG",
-    .version       = XTABLES_VERSION,
-    .family        = NFPROTO_IPV6,
-    .size          = XT_ALIGN(sizeof(struct ip6t_log_info)),
-    .userspacesize = XT_ALIGN(sizeof(struct ip6t_log_info)),
-    .help          = LOG_help,
-    .init          = LOG_init,
-    .parse         = LOG_parse,
-    .print         = LOG_print,
-    .save          = LOG_save,
-    .extra_opts    = LOG_opts,
+       .name          = "LOG",
+       .version       = XTABLES_VERSION,
+       .family        = NFPROTO_IPV6,
+       .size          = XT_ALIGN(sizeof(struct ip6t_log_info)),
+       .userspacesize = XT_ALIGN(sizeof(struct ip6t_log_info)),
+       .help          = LOG_help,
+       .init          = LOG_init,
+       .parse         = LOG_parse,
+       .print         = LOG_print,
+       .save          = LOG_save,
+       .extra_opts    = LOG_opts,
 };
 
 void _init(void)
index 233bd9a97a6d290411ba37df1d0599c4c8c84b29..ba6af0441f12fb621fd717ee3a21b15bd001d6d8 100644 (file)
@@ -259,17 +259,17 @@ static void LOG_save(const void *ip, const struct xt_entry_target *target)
 }
 
 static struct xtables_target log_tg_reg = {
-    .name          = "LOG",
-    .version       = XTABLES_VERSION,
-    .family        = NFPROTO_IPV4,
-    .size          = XT_ALIGN(sizeof(struct ipt_log_info)),
-    .userspacesize = XT_ALIGN(sizeof(struct ipt_log_info)),
-    .help          = LOG_help,
-    .init          = LOG_init,
-    .parse         = LOG_parse,
-    .print         = LOG_print,
-    .save          = LOG_save,
-    .extra_opts    = LOG_opts,
+       .name          = "LOG",
+       .version       = XTABLES_VERSION,
+       .family        = NFPROTO_IPV4,
+       .size          = XT_ALIGN(sizeof(struct ipt_log_info)),
+       .userspacesize = XT_ALIGN(sizeof(struct ipt_log_info)),
+       .help          = LOG_help,
+       .init          = LOG_init,
+       .parse         = LOG_parse,
+       .print         = LOG_print,
+       .save          = LOG_save,
+       .extra_opts    = LOG_opts,
 };
 
 void _init(void)
index 81d7b58b725930217a9e2145534cd44834035e13..d6b521feeb4c7d18c738a74242ec8f2cdea1090b 100644 (file)
@@ -138,17 +138,17 @@ static void ecn_save(const void *ip, const struct xt_entry_match *match)
 }
 
 static struct xtables_match ecn_mt_reg = {
-    .name          = "ecn",
-    .version       = XTABLES_VERSION,
-    .family        = NFPROTO_IPV4,
-    .size          = XT_ALIGN(sizeof(struct ipt_ecn_info)),
-    .userspacesize = XT_ALIGN(sizeof(struct ipt_ecn_info)),
-    .help          = ecn_help,
-    .parse         = ecn_parse,
-    .final_check   = ecn_check,
-    .print         = ecn_print,
-    .save          = ecn_save,
-    .extra_opts    = ecn_opts,
+       .name          = "ecn",
+       .version       = XTABLES_VERSION,
+       .family        = NFPROTO_IPV4,
+       .size          = XT_ALIGN(sizeof(struct ipt_ecn_info)),
+       .userspacesize = XT_ALIGN(sizeof(struct ipt_ecn_info)),
+       .help          = ecn_help,
+       .parse         = ecn_parse,
+       .final_check   = ecn_check,
+       .print         = ecn_print,
+       .save          = ecn_save,
+       .extra_opts    = ecn_opts,
 };
 
 void _init(void)
index e4a7f4d4b6bb07b923cb7d48269ee6b158811d2f..f8a5a18d63673e2bb3c41ff6f1233a411f77579d 100644 (file)
@@ -211,18 +211,18 @@ static void recent_save(const void *ip, const struct xt_entry_match *match)
 }
 
 static struct xtables_match recent_mt_reg = {
-    .name          = "recent",
-    .version       = XTABLES_VERSION,
-    .family        = NFPROTO_UNSPEC,
-    .size          = XT_ALIGN(sizeof(struct xt_recent_mtinfo)),
-    .userspacesize = XT_ALIGN(sizeof(struct xt_recent_mtinfo)),
-    .help          = recent_help,
-    .init          = recent_init,
-    .parse         = recent_parse,
-    .final_check   = recent_check,
-    .print         = recent_print,
-    .save          = recent_save,
-    .extra_opts    = recent_opts,
+       .name          = "recent",
+       .version       = XTABLES_VERSION,
+       .family        = NFPROTO_UNSPEC,
+       .size          = XT_ALIGN(sizeof(struct xt_recent_mtinfo)),
+       .userspacesize = XT_ALIGN(sizeof(struct xt_recent_mtinfo)),
+       .help          = recent_help,
+       .init          = recent_init,
+       .parse         = recent_parse,
+       .final_check   = recent_check,
+       .print         = recent_print,
+       .save          = recent_save,
+       .extra_opts    = recent_opts,
 };
 
 void _init(void)