- Timestamp:
- 06/07/13 18:46:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tiny-import.pl
r518 r519 263 263 $host =~ s/^=//; 264 264 $host =~ s/\.$//; 265 $ttl = -1 if !$ttl;265 $ttl = -1 if $ttl eq ''; 266 266 $stamp = '' if !$stamp; 267 267 $loc = '' if !$loc; … … 290 290 $host =~ s/\.$//; 291 291 $host =~ s/^\\052/*/; 292 $ttl = -1 if !$ttl;292 $ttl = -1 if $ttl eq ''; 293 293 $stamp = '' if !$stamp; 294 294 $loc = '' if !$loc; … … 324 324 $ns =~ s/\.$//; 325 325 $ns = "$ns.ns.$zone" if $ns !~ /\./; 326 $ttl = -1 if !$ttl;326 $ttl = -1 if $ttl eq ''; 327 327 $stamp = '' if !$stamp; 328 328 $loc = '' if !$loc; … … 358 358 $rip =~ s/^\^//; 359 359 $rip =~ s/\.$//; 360 $ttl = 1 if !$ttl;360 $ttl = 1 if $ttl eq ''; 361 361 $stamp = '' if !$stamp; 362 362 $loc = '' if !$loc; … … 389 389 $host =~ s/\.$//; 390 390 $host =~ s/^\\052/*/; 391 $ttl = -1 if !$ttl;391 $ttl = -1 if $ttl eq ''; 392 392 $stamp = '' if !$stamp; 393 393 $loc = '' if !$loc; … … 410 410 $master =~ s/\.$//; 411 411 $contact =~ s/\.$//; 412 $ttl = -1 if !$ttl;412 $ttl = -1 if $ttl eq ''; 413 413 $stamp = '' if !$stamp; 414 414 $loc = '' if !$loc; … … 436 436 $host =~ s/\.$//; 437 437 $host = "$host.mx.$zone" if $host !~ /\./; 438 $ttl = -1 if !$ttl;438 $ttl = -1 if $ttl eq ''; 439 439 $stamp = '' if !$stamp; 440 440 $loc = '' if !$loc; … … 461 461 $fqdn =~ s/^\\052/*/; 462 462 _deoctal(\$rdata); 463 $ttl = -1 if !$ttl;463 $ttl = -1 if $ttl eq ''; 464 464 $stamp = '' if !$stamp; 465 465 $loc = '' if !$loc; … … 488 488 $ns =~ s/\.$//; 489 489 $ns = "$ns.ns.$fqdn" if $ns !~ /\./; 490 $ttl = -1 if !$ttl;490 $ttl = -1 if $ttl eq ''; 491 491 $stamp = '' if !$stamp; 492 492 $loc = '' if !$loc; … … 556 556 $fqdn =~ s/\.$//; 557 557 $fqdn =~ s/^\\052/*/; 558 $ttl = -1 if !$ttl;558 $ttl = -1 if $ttl eq ''; 559 559 $stamp = '' if !$stamp; 560 560 $loc = '' if !$loc;
Note:
See TracChangeset
for help on using the changeset viewer.