- Timestamp:
- 10/11/12 15:07:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r420 r425 3537 3537 $logdata{entry} .= " [priority $dist] [weight $weight] [port $port]" 3538 3538 if $typemap{$$rectype} eq 'SRV'; 3539 $logdata{entry} .= "', TTL $ttl, location $location"; 3539 $logdata{entry} .= "', TTL $ttl"; 3540 $logdata{entry} .= ", location ".getLoc($dbh, $location)->{description} if $location; 3540 3541 3541 3542 # Allow transactions, and raise an exception on errors so we can catch it later. … … 3698 3699 $logdata{entry} .= " [priority $oldrec->{distance}] [weight $oldrec->{weight}] [port $oldrec->{port}]" 3699 3700 if $typemap{$oldrec->{type}} eq 'SRV'; 3700 $logdata{entry} .= "', TTL $oldrec->{ttl}, location $oldrec->{location}\nto\n"; 3701 $logdata{entry} .= "', TTL $oldrec->{ttl}"; 3702 $logdata{entry} .= ", location ".getLoc($dbh, $oldrec->{location})->{description} if $oldrec->{location}; 3703 $logdata{entry} .= "\nto\n"; 3701 3704 # More NS special 3702 3705 if ($revrec eq 'y' && $$rectype == 2) { … … 3707 3710 $logdata{entry} .= " [distance $dist]" if $typemap{$$rectype} eq 'MX'; 3708 3711 $logdata{entry} .= " [priority $dist] [weight $weight] [port $port]" if $typemap{$$rectype} eq 'SRV'; 3709 $logdata{entry} .= "', TTL $ttl, location $location"; 3712 $logdata{entry} .= "', TTL $ttl"; 3713 $logdata{entry} .= ", location ".getLoc($dbh, $location)->{description} if $location; 3710 3714 3711 3715 local $dbh->{AutoCommit} = 0; … … 3767 3771 $logdata{entry} .= " [priority $oldrec->{distance}] [weight $oldrec->{weight}] [port $oldrec->{port}]" 3768 3772 if $typemap{$oldrec->{type}} eq 'SRV'; 3769 $logdata{entry} .= "', TTL $oldrec->{ttl}\n"; 3773 $logdata{entry} .= "', TTL $oldrec->{ttl}"; 3774 $logdata{entry} .= ", location ".getLoc($dbh, $oldrec->{location})->{description} if $oldrec->{location}; 3770 3775 3771 3776 eval {
Note:
See TracChangeset
for help on using the changeset viewer.