summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_hl.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-01-07 12:34:04 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-01-08 01:58:45 +0100
commit7ac405297ec38449b30e3b05fd6bf2082fd3d803 (patch)
tree5231547e7f2ce87b368135d1dd4720431e94e088 /extensions/libip6t_hl.c
parent4a1d810bb52aa5d5c450f7adcde5145d40261b54 (diff)
src: use C99/POSIX types
"u_int" was a non-standardized extension predating C99 on some platforms. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libip6t_hl.c')
-rw-r--r--extensions/libip6t_hl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_hl.c b/extensions/libip6t_hl.c
index 6e58250c..ce4392ee 100644
--- a/extensions/libip6t_hl.c
+++ b/extensions/libip6t_hl.c
@@ -27,7 +27,7 @@ static int hl_parse(int c, char **argv, int invert, unsigned int *flags,
const void *entry, struct xt_entry_match **match)
{
struct ip6t_hl_info *info = (struct ip6t_hl_info *) (*match)->data;
- u_int8_t value;
+ uint8_t value;
xtables_check_inverse(optarg, &invert, &optind, 0, argv);
value = atoi(optarg);