hostnamed: always include VSockCID property in describe JSON
authorLennart Poettering <lennart@poettering.net>
Mon, 8 Jan 2024 15:45:07 +0000 (16:45 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Jan 2024 09:46:25 +0000 (10:46 +0100)
commit77986df63c5221644d35f078eae8ed29f0ffd156
tree4f427319b5e977e89adfb255c15b72d6d4ae1453
parent0a6598bb38a3ba4d627c105ee29582dcd2c118e3
hostnamed: always include VSockCID property in describe JSON

that way clients can distinguish whether there is no cid or whether
hostnamed doesn't support it nicely, by just looking if the prop exists
(but is null) or not.

This is similar how we already handle all other props in the JSON
record.
src/hostname/hostnamed.c