This is a simple search&replace excercise: instead of accessing the "key" field of the transaction directly, let's use a small inline helper that does this for us. This appears pointless for now, but this will become useful later when we introduce "bypass" transactions, that reuse the original client DNS packet for queries instead of synthesizing a packet of our own. In that case transactions either have regular "key" field initialized as before, or the "bypass" packet field instead. The new dns_transaction_key() helper allows us to hide the differences for most cases as we can later teach it to access the "bypass" packet's question key transparently. No change in behaviour.
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
