about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--resolv/res_send.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 9a3bc5804a..a70f3dec05 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -1343,12 +1343,6 @@ send_dg(res_state statp,
 			return close_and_return_error (statp, resplen2);
 		}
 
-		/* Paranoia check.  Due to the connected UDP socket,
-		   the kernel has already filtered invalid addresses
-		   for us.  */
-		if (!res_ourserver_p(statp, &from))
-		  goto wait;
-
 		/* Check for the correct header layout and a matching
 		   question.  */
 		int matching_query = 0; /* Default to no matching query.  */