- Timestamp:
- 05/05/13 22:41:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns-rpc.cgi
r496 r498 389 389 _ttlcheck(\%args); 390 390 391 # allow passing text types rather than DNS integer IDs 392 $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^d+$/; 393 391 394 my @recargs = ($args{defrec}, $args{revrec}, $args{parent_id}, 392 395 \$args{name}, \$args{type}, \$args{address}, $args{ttl}, $args{location}); … … 416 419 $args{$field} = $oldrec->{$field} if !$args{$field} && defined($oldrec->{$field}); 417 420 } 421 422 # allow passing text types rather than DNS integer IDs 423 $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^d+$/; 418 424 419 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.