* lib/resolv.rb (Resolv::DNS::Config#lazy_initialize): fixed the
defaults of nameserver and port. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1b26041724
commit
5961543218
@ -1,3 +1,8 @@
|
||||
Tue Jan 19 19:58:26 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/resolv.rb (Resolv::DNS::Config#lazy_initialize): fixed the
|
||||
defaults of nameserver and port.
|
||||
|
||||
Tue Jan 19 14:29:16 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* Makefile.in (clean-ext): allow glob patterns.
|
||||
|
@ -885,7 +885,7 @@ class Resolv
|
||||
@ndots = config_hash[:ndots] if config_hash.include? :ndots
|
||||
|
||||
if @nameserver_port.empty?
|
||||
@nameserver_port = ['0.0.0.0', Port]
|
||||
@nameserver_port << ['0.0.0.0', Port]
|
||||
end
|
||||
if @search
|
||||
@search = @search.map {|arg| Label.split(arg) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user