Changeset 3126 in genesis for dns


Ignore:
Timestamp:
Nov 6, 2004, 6:31:34 PM (20 years ago)
Author:
dirkx
Message:

mooirere error msg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dns/zone2rev.pl

    r3124 r3126  
    2121                unless $host =~ m/\.$/;
    2222
    23         warn "A-Resourcce Duplicated\n\tfor $ip/$host at line $.\n"
     23        warn "A-Resourcce defined in two places\n\tfor $ip/$host at line $. and $line{$ip}\n"
    2424                if defined $host{$ip} and $host{$ip} eq $host;
    2525
    26         warn "A-Resourcce Conflict\n\t$ip used for $host and $host{$ip} at line $.\n"
     26        warn "A-Resourcce Conflict - there should be just one.\n\t$ip used for $host and $host{$ip} at line $. and $line{$ip}\n"
    2727                if defined $host{$ip};
    2828
    29         warn "Resource reuse\n\t$host at $ip{$host}/$ip at line $.\n"
     29        warn "Resource defined in two places\n\t$host at $ip{$host} at line $. and $line{$host}.\n"
    3030                if defined $ip{$host} and $ip eq $ip{$host};
    3131
    32         warn "Resourcce mismatch\n\t$host at $ip{$host} and $ip at line $.\n"
     32        warn "Resource confict - there should be just one.\n\t$host at $ip{$host} and $ip at line $. and $line{$host}\n"
    3333                if defined $ip{$host};
    3434
    3535        $host{$ip} = $host;
    3636        $ip{$host} = $ip;
     37        $line{$ip} = $line{$host} = $.;
    3738
    3839        print "$ip\t$host\n";
Note: See TracChangeset for help on using the changeset viewer.