As the comment indicates, the check is unnecessary due to the way the
UDP socket is set up.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
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. */