Changeset 858


Ignore:
Timestamp:
04/17/16 12:49:37 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Add an ORDER BY clause in db2rwhois.pl to make the output more predictable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/extras/db2rwhois.pl

    r856 r858  
    7979        NOT (a.cidr <<= '172.16.0.0/12') AND
    8080        NOT (a.cidr <<= '10.0.0.0/8') AND
    81         NOT (a.type = 'wr' OR a.type = 'mm') AND
     81        NOT (a.type = 'wr' OR a.type LIKE '_m') AND
    8282        ((masklen(a.cidr) <=30 AND family(a.cidr)=4) OR (masklen(a.cidr) <=64 AND family(a.cidr)=6)) AND
    8383        a.master_id = ? AND
    8484        a.cidr <<= ?
     85        ORDER BY a.cidr
    8586        ) );
    8687
Note: See TracChangeset for help on using the changeset viewer.