diff options
author | Jelte Jansen <jelte@isc.org> | 2013-01-09 11:44:49 +0100 |
---|---|---|
committer | Jelte Jansen <jelte@isc.org> | 2013-01-10 12:30:23 +0100 |
commit | ead15091870f4dbd5a87640be3493e36d9e9da73 (patch) | |
tree | a436587d0478703ffe222ac9eda9b2d53c57d023 /src/lib/dns/gen-rdatacode.py.in | |
parent | [master] Merge branch 'trac711' (diff) | |
download | kea-ead15091870f4dbd5a87640be3493e36d9e9da73.tar.xz kea-ead15091870f4dbd5a87640be3493e36d9e9da73.zip |
[2498] Update HINFO and NAPTR to use new createFromText
Also change internal representation of strings to type CharString;
because CharString is (currently) hidden, this meant introducing pimpl to these classes. Also the relevant getters now return copies instead of references to strings.
Diffstat (limited to 'src/lib/dns/gen-rdatacode.py.in')
-rwxr-xr-x | src/lib/dns/gen-rdatacode.py.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/dns/gen-rdatacode.py.in b/src/lib/dns/gen-rdatacode.py.in index 2bf9de6f0f..1174db44d8 100755 --- a/src/lib/dns/gen-rdatacode.py.in +++ b/src/lib/dns/gen-rdatacode.py.in @@ -32,8 +32,11 @@ import sys # # Example: # new_rdata_factory_users = [('a', 'in'), ('a', 'ch'), ('soa', 'generic')] -new_rdata_factory_users = [('aaaa', 'in'), ('txt', 'generic'), - ('spf', 'generic')] +new_rdata_factory_users = [('aaaa', 'in'), + ('hinfo', 'generic'), + ('spf', 'generic'), + ('txt', 'generic') + ] re_typecode = re.compile('([\da-z]+)_(\d+)') classcode2txt = {} |