1007 => 'parts must not end with the - character',
1008 => 'integer out of bounds',
1009 => 'must have at least three labels to be valid as mail address',
- 1010 => 'must not 2(NS), 5(CNAME), 6(SOA), 12(PTR), 15(MX) or 252(AXFR)',
+ 1010 => 'must not be 2(NS), 5(CNAME), 6(SOA), 12(PTR), 15(MX) or 252(AXFR)',
);
# NOTE : ONLY translate the right-hand part
my ($type, $s) = @_;
my $result = validate_integer($s, 65535);
- return 1010 if ($s==2)||($s==5)||($s==6)||($s==12)||($s==15)||($s=252);
+ return 1010 if ($s==2)||($s==5)||($s==6)||($s==12)||($s==15)||($s==252);
return $result;
}],