---
src/dnsproxy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 45ecd69..37e9605 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -3554,7 +3554,7 @@ static bool udp_listener_event(GIOChannel *channel,
GIOCondition condition,
DBG("Received %d bytes (id 0x%04x)", len, buf[0] | buf[1] << 8);
/* If captive mode, all is redirected to tether ip */
- if (captive_ip) {
+ if (captive_ip && !__connman_inet_is_addr_loopback(client_addr)) {
send_response_A(sk, buf, len,
captive_ip,
client_addr, *client_addr_len,
IPPROTO_UDP);
--
2.1.4
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman