diff options
Diffstat (limited to 'userspace/ebtables2/extensions/ebtable_nat.c')
-rw-r--r-- | userspace/ebtables2/extensions/ebtable_nat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/userspace/ebtables2/extensions/ebtable_nat.c b/userspace/ebtables2/extensions/ebtable_nat.c index b811c32..7998e7d 100644 --- a/userspace/ebtables2/extensions/ebtable_nat.c +++ b/userspace/ebtables2/extensions/ebtable_nat.c @@ -18,10 +18,8 @@ static void print_help(char **hn) static struct ebt_u_table table = { - "nat", - NULL, - print_help, - NULL + .name = "nat", + .help = print_help, }; static void _init(void) __attribute__ ((constructor)); |