Changeset 779
- Timestamp:
- 08/09/19 17:16:45 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r778 r779 293 293 ## utility functions 294 294 ## 295 296 ## DNSDB::_zonetable() 297 # Takes default+rdns flags, returns appropriate zone table name 298 sub _zonetable { 299 my $def = shift; 300 my $rev = shift; 301 302 return 'domains' if $rev ne 'y'; 303 return 'revzones'; 304 } # end _zonetable() 295 305 296 306 ## DNSDB::_rectable() … … 4182 4192 ($ret->{refresh},$ret->{retry},$ret->{expire},$ret->{minttl}) = split /:/, $ret->{val}; 4183 4193 delete $ret->{val}; 4194 4195 my ($ser) = $dbh->selectrow_array("SELECT zserial FROM "._zonetable($def,$rev). 4196 " WHERE "._recparent($def,$rev)." = ?", undef, $id); 4197 $ret->{serial} = $ser; 4184 4198 4185 4199 return $ret;
Note:
See TracChangeset
for help on using the changeset viewer.