Changeset 506 for trunk/DNSDB.pm


Ignore:
Timestamp:
05/07/13 13:46:07 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Add and flesh out RPC getTypelist().
Add an extra bit of flag-overloading in the DNSDB.pm's getTypelist(), so

that a caller can retrieve *only* true forward zone types instead of
including the forward+reverse pseudotypes as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r501 r506  
    41154115    # default;  forward zone types.  technically $type eq 'f' but not worth the error message.
    41164116    $sql .= "stdflag=1 OR stdflag=2";
     4117    $sql .= " AND val < 65280" if $recgroup eq 'fo';  # An extra flag to trim off the pseudotypes as well.
    41174118  }
    41184119  $sql .= " ORDER BY listorder";
Note: See TracChangeset for help on using the changeset viewer.