hostnamectl: properly initialize the two timestamp fields before doing bus call
authorLennart Poettering <lennart@poettering.net>
Mon, 4 Mar 2024 12:02:57 +0000 (13:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 4 Mar 2024 12:05:31 +0000 (13:05 +0100)
commit67648678b0dafd09db09c12918e52a5fb745180f
treead31105e59b7826cb546267cfea5f3d8f81fb90a
parentca904495de5ab2dcf4f38741af398a57bd432254
hostnamectl: properly initialize the two timestamp fields before doing bus call

Otherwise if talking to an old hostnamed (which doesn't have these
fields) we'd assume the timestamp is valid even though it isn't and show
garbage.
src/hostname/hostnamectl.c