summaryrefslogtreecommitdiffstats
path: root/extensions/ebt_vlan.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-08-30 16:20:19 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-08-30 16:20:19 +0000
commit7cf1cca8b878d47434d94241107a98ec09355bda (patch)
treef2ef8f6cefc3bbaea38f692d666e7c189af1b1aa /extensions/ebt_vlan.c
parent8e96bee4703f792e8542c259cea2abf11bc0dfba (diff)
C99 initializers
Diffstat (limited to 'extensions/ebt_vlan.c')
-rw-r--r--extensions/ebt_vlan.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/extensions/ebt_vlan.c b/extensions/ebt_vlan.c
index f7bec62..198f537 100644
--- a/extensions/ebt_vlan.c
+++ b/extensions/ebt_vlan.c
@@ -307,15 +307,15 @@ compare(const struct ebt_entry_match *vlan1,
}
static struct ebt_u_match vlan_match = {
- EBT_VLAN_MATCH,
- sizeof(struct ebt_vlan_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_VLAN_MATCH,
+ .size = sizeof(struct ebt_vlan_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute__ ((constructor));