File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 158158
159159# Wire values mapped to short human readable names, used only for reprs
160160# and debug logging; lookups fall back to "?(value)" at the call sites.
161+ # Sorted by mnemonic.
161162_CLASSES = {
162- _CLASS_IN : "in" ,
163- _CLASS_CS : "cs" ,
163+ _CLASS_ANY : "any" ,
164164 _CLASS_CH : "ch" ,
165+ _CLASS_CS : "cs" ,
165166 _CLASS_HS : "hs" ,
167+ _CLASS_IN : "in" ,
166168 _CLASS_NONE : "none" ,
167- _CLASS_ANY : "any" ,
168169}
169170_TYPES = {
170171 _TYPE_A : "a" ,
171- _TYPE_NS : "ns" ,
172- _TYPE_MD : "md" ,
173- _TYPE_MF : "mf" ,
172+ _TYPE_AAAA : "aaaa" ,
173+ _TYPE_ANY : "any" ,
174174 _TYPE_CNAME : "cname" ,
175- _TYPE_SOA : "soa " ,
175+ _TYPE_HINFO : "hinfo " ,
176176 _TYPE_MB : "mb" ,
177+ _TYPE_MD : "md" ,
178+ _TYPE_MF : "mf" ,
177179 _TYPE_MG : "mg" ,
180+ _TYPE_MINFO : "minfo" ,
178181 _TYPE_MR : "mr" ,
182+ _TYPE_MX : "mx" ,
183+ _TYPE_NS : "ns" ,
184+ _TYPE_NSEC : "nsec" ,
179185 _TYPE_NULL : "null" ,
180- _TYPE_WKS : "wks" ,
181186 _TYPE_PTR : "ptr" ,
182- _TYPE_HINFO : "hinfo" ,
183- _TYPE_MINFO : "minfo" ,
184- _TYPE_MX : "mx" ,
185- _TYPE_TXT : "txt" ,
186- _TYPE_AAAA : "aaaa" ,
187+ _TYPE_SOA : "soa" ,
187188 _TYPE_SRV : "srv" ,
188- _TYPE_NSEC : "nsec " ,
189- _TYPE_ANY : "any " ,
189+ _TYPE_TXT : "txt " ,
190+ _TYPE_WKS : "wks " ,
190191}
191192
192193_ADDRESS_RECORD_TYPES = {_TYPE_A , _TYPE_AAAA }
You can’t perform that action at this time.
0 commit comments