aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap.c')
-rw-r--r--tap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tap.c b/tap.c
index b37d778..8386dbf 100644
--- a/tap.c
+++ b/tap.c
@@ -684,7 +684,8 @@ static bool tap_filter_address(const struct timespec *now, sa_family_t af,
return false;
if (af == AF_INET6 &&
- !IN6_IS_ADDR_LOOPBACK(saddr) && !IN6_IS_ADDR_LOOPBACK(daddr))
+ !IN6_IS_ADDR_LOOPBACK(saddr) && !IN6_IS_ADDR_LOOPBACK(daddr) &&
+ !IN6_IS_ADDR_V4MAPPED(saddr) && !IN6_IS_ADDR_V4MAPPED(daddr))
return false;
debug_ratelimit(now, "Invalid address on tap interface: %s -> %s",