- Timestamp:
- 08/22/19 16:57:17 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r784 r785 1016 1016 push @ferr, "weight" unless ${$args{weight}} =~ /^\d+$/; 1017 1017 push @ferr, "port" unless ${$args{port}} =~ /^\d+$/; 1018 return ('FAIL',"Distance, port and weight are required, and must be numeric (check ".join(", ", @ferr).")")1018 return ('FAIL',"Distance, port and weight are required, and must be numeric (check ".join(", ", @ferr).")") 1019 1019 unless ${$args{dist}} =~ /^\d+$/ && ${$args{weight}} =~ /^\d+$/ && ${$args{port}} =~ /^\d+$/; 1020 1020 … … 6865 6865 } 6866 6866 print $datafile "$rec:$ttl:$stamp:$loc\n" or die $!; 6867 6868 6867 } # SSHFP 6869 6868
Note:
See TracChangeset
for help on using the changeset viewer.