Skip to contentSkip to conversation

C99 initializers for libip6t_HL.c

PATCH In review Maciej Soltysiak 2 participants 2 messages Jan 23, 2005 – Feb 1, 2005 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 C99 initializers for libip6t_HL.c

Hello,

this is C99 for libip6t_HL.c

Regards,
Maciej

extensions/libip6t_HL.c (working copy) renamed from extensions/libip6t_HL.c (revision 3612) +11 -11
Index: iptables/extensions/libip6t_HL.c
===================================================================
@@ -147,17 +147,17 @@
 
 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)
#2 lore raw
Quoted 3 lines · Maciej Soltysiak

Hello,

this is C99 for libip6t_HL.c

Sending libip6t_HL.c
Transmitting file data .
Committed revision 3631.

Quoted 2 lines

Regards,
Maciej

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie