Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
1032-inet_res-relax-RD-flag-query-response-chec...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1032-inet_res-relax-RD-flag-query-response-check.patch of Package erlang
From 604f28bb841873a97e887d5fbb7d0b8ebe46d811 Mon Sep 17 00:00:00 2001 From: Jan Uhlig <juhlig@hnc-agency.org> Date: Tue, 26 Mar 2024 17:02:38 +0100 Subject: [PATCH] inet_res: relax RD flag query/response check --- lib/kernel/src/inet_res.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kernel/src/inet_res.erl b/lib/kernel/src/inet_res.erl index 0fb46332f2..63e7360c3a 100644 --- a/lib/kernel/src/inet_res.erl +++ b/lib/kernel/src/inet_res.erl @@ -1124,7 +1124,7 @@ decode_answer_noerror( {error,badid}; H#dns_header.qr =/= true; H#dns_header.opcode =/= Q_H#dns_header.opcode; - H#dns_header.rd =/= Q_H#dns_header.rd -> + H#dns_header.rd andalso not Q_H#dns_header.rd -> {error,{unknown,Msg}}; true -> case QDList of -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor