We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0074767 commit c97e7ecCopy full SHA for c97e7ec
lib/dnsruby/resource/OPT.rb
@@ -227,13 +227,12 @@ def to_s
227
if @options
228
@options.each do |opt|
229
if opt.code == EDNS_SUBNET_OPTION
230
- ret = ret + "CLIENT-SUBNET: #{get_client_subnet(opt)}"
+ ret = ret + "CLIENT-SUBNET: #{get_client_subnet(opt)}\n"
231
else
232
- ret = ret + " " + opt.to_s
+ ret = ret + "OPT=#{opt.code}: #{opt.data}\n"
233
end
234
235
236
- ret = ret + "\n"
237
return ret
238
239
0 commit comments