resolved: tweak cmsg calculation
authorLennart Poettering <lennart@poettering.net>
Wed, 27 May 2020 17:38:38 +0000 (19:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 27 May 2020 20:40:59 +0000 (22:40 +0200)
commit08ab18618ec59022582f1513c0718ba369f5ba85
treef730e22d3d3fe0e6147cc01e35c6da970108bc93
parent43007b302efae90897b62095a6995f43c60c1ff1
resolved: tweak cmsg calculation

We ask for the TTL, then have enough space for it.

We probably can drop the extra cmsg space now, but let's figure that out
another time, since the extra cmsg space is used elsewhere in resolved
as well.
src/resolve/resolved-dns-stream.c