diff options
author | Patrick McHardy <kaber@trash.net> | 2010-08-03 17:21:18 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-08-03 17:21:18 +0200 |
commit | a653f2936c56bfc541f13a7888484d5ae21c057a (patch) | |
tree | 6cd810640b26d9c3c330c4538424edbcc5570285 /extensions/libip6t_hl.c | |
parent | d8b511ed36f00280dd141e59c08874c7fb116504 (diff) | |
parent | 422342e47c18e70757231f2210b13df8e1f5931c (diff) |
Merge branch 'iptables-next'
Diffstat (limited to 'extensions/libip6t_hl.c')
-rw-r--r-- | extensions/libip6t_hl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/libip6t_hl.c b/extensions/libip6t_hl.c index 09589b19..6e58250c 100644 --- a/extensions/libip6t_hl.c +++ b/extensions/libip6t_hl.c @@ -5,7 +5,7 @@ * This program is released under the terms of GNU GPL * Cleanups by Stephane Ouellette <ouellettes@videotron.ca> */ - +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -116,11 +116,11 @@ static void hl_save(const void *ip, const struct xt_entry_match *match) } static const struct option hl_opts[] = { - { .name = "hl", .has_arg = 1, .val = '2' }, - { .name = "hl-eq", .has_arg = 1, .val = '2' }, - { .name = "hl-lt", .has_arg = 1, .val = '3' }, - { .name = "hl-gt", .has_arg = 1, .val = '4' }, - { .name = NULL } + {.name = "hl", .has_arg = true, .val = '2'}, + {.name = "hl-eq", .has_arg = true, .val = '2'}, + {.name = "hl-lt", .has_arg = true, .val = '3'}, + {.name = "hl-gt", .has_arg = true, .val = '4'}, + XT_GETOPT_TABLEEND, }; static struct xtables_match hl_mt6_reg = { |