[ldns-users] ldns_rr_list_sort() sorts by which criterion?

Lars Rohwedder roker at pep-project.org
Tue Aug 8 14:49:57 UTC 2017


It is not documented by which criterion this function sorts the list.

I'd like it if the function would sort e.g. a list of MX records by
descending priority, so I can just pick the entry with the highest
priority via  ldns_rr_list_rr( rr, 0), than  ldns_rr_list_rr( rr, 1) and
so on.

Is this the case or do I have to do that manually?

Greetings,

		Lars R.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x88396C78.asc
Type: application/pgp-keys
Size: 3906 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20170808/2da77bd5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20170808/2da77bd5/attachment-0001.bin>


More information about the ldns-users mailing list