Changeset 499
- Timestamp:
- 05/06/13 16:27:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns-rpc.cgi
r498 r499 390 390 391 391 # allow passing text types rather than DNS integer IDs 392 $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^ d+$/;392 $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^\d+$/; 393 393 394 394 my @recargs = ($args{defrec}, $args{revrec}, $args{parent_id}, … … 421 421 422 422 # allow passing text types rather than DNS integer IDs 423 $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^ d+$/;423 $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^\d+$/; 424 424 425 425 # note dist, weight, port are not required on all types; will be ignored if not needed.
Note:
See TracChangeset
for help on using the changeset viewer.