]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Use C99 initializers
authorHarald Welte <laforge@gnumonks.org>
Tue, 1 Feb 2005 13:36:46 +0000 (13:36 +0000)
committerHarald Welte <laforge@gnumonks.org>
Tue, 1 Feb 2005 13:36:46 +0000 (13:36 +0000)
extensions/libip6t_HL.c

index ffe86d09544b5f44147364d34eb1a2d319f98287..206282807468e114c5b27bcf89d378465f9fd40c 100644 (file)
@@ -147,17 +147,17 @@ static struct option opts[] = {
 
 static
 struct ip6tables_target HL = { NULL, 
-       "HL",
-       IPTABLES_VERSION,
-       IP6T_ALIGN(sizeof(struct ip6t_HL_info)),
-       IP6T_ALIGN(sizeof(struct ip6t_HL_info)),
-       &help,
-       &init,
-       &parse,
-       &final_check,
-       &print,
-       &save,
-       opts 
+       .name           = "HL",
+       .version        = IPTABLES_VERSION,
+       .size           = IP6T_ALIGN(sizeof(struct ip6t_HL_info)),
+       .userspacesize  = IP6T_ALIGN(sizeof(struct ip6t_HL_info)),
+       .help           = &help, 
+       .init           = &init,
+       .parse          = &parse,
+       .final_check    = &final_check,
+       .print          = &print,
+       .save           = &save,
+       .extra_opts     = opts 
 };
 
 void _init(void)