Changeset 6 for trunk


Ignore:
Timestamp:
09/10/09 17:57:16 (15 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Tweak and polish a few docu-comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/export-dnsbl

    r4 r6  
    3030##fixme - mode should pick actual output, not just export mode
    3131if ($mode eq 'cidr') {
    32   # more or less raw CIDR block-and-IP info
     32  # more or less raw CIDR block-and-IP info.  rbldnsd format for convenience.
    3333  foreach (sort ipcmp keys %iplist) {
    3434    print "$_:127.0.0.$iplist{$_}:".
     
    3737} else {
    3838  foreach (sort ipcmp keys %iplist) {
    39 #foreach (sort keys %iplist) {
    4039    my ($o1,$o2,$o3,$o4) = (/^(\d+)\.([\d*]+)(?:\.([\d*]+)(?:\.([\d*]+))?)?$/);
    4140    print "+".(defined($o4) ? "$o4." : '').(defined($o3) ? "$o3." : '').(defined($o2) ? "$o2." : '').
Note: See TracChangeset for help on using the changeset viewer.