Changeset 847
- Timestamp:
- 09/01/22 12:24:43 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r846 r847 6276 6276 my $target = shift; 6277 6277 6278 if (!$target) { 6279 $errstr = "Can't export nothing"; 6280 return; 6281 } 6282 6278 6283 if ($target eq 'tiny') { 6279 6284 eval { … … 6285 6290 } 6286 6291 } 6292 6293 # BIND and NSD (and possibly others) could be merged, or partially 6294 # merged, since pretty much everyone uses BIND-style zone files 6295 elsif ($target eq 'bind') { 6296 require DNSDB::ExportBIND; 6297 eval { 6298 # there are probably better ways to structure this 6299 DNSDB::ExportBIND::export($self, @_); 6300 }; 6301 if ($@) { 6302 $errstr = $@; 6303 return undef; 6304 } 6305 } 6306 6287 6307 # elsif ($target eq 'foo') { 6288 6308 # __export_foo(@_);
Note:
See TracChangeset
for help on using the changeset viewer.