diff options
author | Fabrice MARIE <fabrice@celestix.com> | 2002-06-14 07:38:16 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2002-06-14 07:38:16 +0000 |
commit | ae31bb6bac68f800a1e4b30cf2548dacaaf76102 (patch) | |
tree | c80fdfbeb20b4d5ab541a2fa79d388a5e18397c4 /extensions/libip6t_rt.c | |
parent | 2318b508d123fea7a3bc267650ba7b6acec24342 (diff) |
fix all compile warnings within iptables extensions (fabrice)
Diffstat (limited to 'extensions/libip6t_rt.c')
-rw-r--r-- | extensions/libip6t_rt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libip6t_rt.c b/extensions/libip6t_rt.c index b407be13..06cab165 100644 --- a/extensions/libip6t_rt.c +++ b/extensions/libip6t_rt.c @@ -296,7 +296,7 @@ print(const struct ip6t_ip6 *ip, } if (rtinfo->flags & IP6T_RT_RES) printf("reserved "); if (rtinfo->flags & IP6T_RT_FST) printf("0-addrs "); - print_addresses(rtinfo->addrnr, rtinfo->addrs); + print_addresses(rtinfo->addrnr, (struct in6_addr *)rtinfo->addrs); if (rtinfo->flags & IP6T_RT_FST_NSTRICT) printf("0-not-strict "); if (rtinfo->invflags & ~IP6T_RT_INV_MASK) printf("Unknown invflags: 0x%X ", @@ -336,7 +336,7 @@ static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match if (rtinfo->flags & IP6T_RT_RES) printf("--rt-0-res "); if (rtinfo->flags & IP6T_RT_FST) printf("--rt-0-addrs "); - print_addresses(rtinfo->addrnr, rtinfo->addrs); + print_addresses(rtinfo->addrnr, (struct in6_addr *)rtinfo->addrs); if (rtinfo->flags & IP6T_RT_FST_NSTRICT) printf("--rt-0-not-strict "); } |