ntpq readvar command doesn't print associd
When testing some existing scripts using ntpq, I found a compatibility issue due to missing associd. It seems there is a difference between the classic and ntpsec ntpq that the later doesn't prefix the readvar output with the associd, e.g.
$ ntpq -c rv # classic
associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync,
...
vs
$ ntpq -c rv # ntpsec
status=0615 leap_none, sync_ntp, 1 event, clock_sync,
...
In the code it looks like there is a support for printing the associd, but it seems it was disabled in commit 5f610732. From the commit message it's not clear to me if this was intentional or not.