Project

General

Profile

Bug #12112 ยป 12112_fixes_ipv6_ptr_resolver.patch

wb (Dmitri Dolguikh), 02/26/2016 02:09 PM

View differences:

lib/resolv.rb
1197 1197
      end
1198 1198

  
1199 1199
      def initialize(labels, absolute=true) # :nodoc:
1200
        labels = labels.map {|label|
1201
          case label
1202
          when String then Label::Str.new(label)
1203
          when Label::Str then label
1204
          else
1205
            raise ArgumentError, "unexpected label: #{label.inspect}"
1206
          end
1207
        }
1200 1208
        @labels = labels
1201 1209
        @absolute = absolute
1202 1210
      end
1203
-