Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
0187-kernel-Allow-resetting-of-inet_db-res_opti...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0187-kernel-Allow-resetting-of-inet_db-res_option-domain.patch of Package erlang
From 341e0d111360a93c8bc1cbad2d4eb962a59495aa Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Tue, 21 Dec 2021 17:09:26 +0100 Subject: [PATCH 10/12] kernel: Allow resetting of inet_db:res_option domain --- lib/kernel/src/inet_db.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kernel/src/inet_db.erl b/lib/kernel/src/inet_db.erl index 01912fdb57..5416ba879d 100644 --- a/lib/kernel/src/inet_db.erl +++ b/lib/kernel/src/inet_db.erl @@ -498,7 +498,7 @@ res_check_option(nameservers, NSs) -> res_check_option(alt_nameservers, NSs) -> res_check_list(NSs, fun res_check_ns/1); res_check_option(domain, Dom) -> - inet_parse:visible_string(Dom); + Dom =:= "" orelse inet_parse:visible_string(Dom); res_check_option(lookup, Methods) -> try lists_subtract(Methods, valid_lookup()) of [] -> true; -- 2.31.1
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