diff options
-rw-r--r-- | ip6t_NPTV6_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ip6t_NPTV6_common.h b/ip6t_NPTV6_common.h index 9b3aa6f..4a0c807 100644 --- a/ip6t_NPTV6_common.h +++ b/ip6t_NPTV6_common.h @@ -52,7 +52,7 @@ static bool translate_address(struct in6_addr *addr, const struct in6_addr *pref fix_word = 3; } else { - for (fix_word = (plen+15)/16; fix_word < 7; fix_word++) { + for (fix_word = 4; fix_word < 7; fix_word++) { if (addr->s6_addr16[fix_word] != 0xffff) break; } |