diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/resolv.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resolv.rb b/lib/resolv.rb index bcc677b2a7..cf1a1b9a75 100644 --- a/lib/resolv.rb +++ b/lib/resolv.rb @@ -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) } |