lib/spf/model.rb in spf-0.0.49 vs lib/spf/model.rb in spf-0.0.50
- old
+ new
@@ -182,10 +182,10 @@
"Invalid IPv6 prefix length encountered in '#{@text}'"))
return
end
@ipv6_prefix_length = bits
elsif required
- error(SPF::TermIPvPrefixLengthExpected.new(
+ error(SPF::TermIPv6PrefixLengthExpected.new(
"Missing required IPv6 prefix length in '#{@text}'"))
return
else
@ipv6_prefix_length = self.default_ipv6_prefix_length
end