Commit d0fd2e94 authored by Colin Shea's avatar Colin Shea

ensure there is a newline at the end of a SSHFP record

parent 8949b1da
......@@ -488,7 +488,7 @@ ENDH
out << "\n; Zone SSHFP Records\n" unless self.sshfp.empty?
self.sshfp.each do |sshfp|
out << "#{sshfp[:name]} #{sshfp[:ttl]} #{sshfp[:class]} SSHFP #{sshfp[:key_type]} #{sshfp[:fingerprint_type]} #{sshfp[:fingerprint]}"
out << "#{sshfp[:name]} #{sshfp[:ttl]} #{sshfp[:class]} SSHFP #{sshfp[:key_type]} #{sshfp[:fingerprint_type]} #{sshfp[:fingerprint]}\n"
end
out
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment