- add numeric formatting to default branch
bk: 5f967b26xKoTW2oq2LqfwYpkl28SlQ
---
* [Bug 3677] additional peer events not decoded in associations listing <perlinger@ntp.org>
- - patch by Gerry Garvey
+ - original patch by Gerry Garvey
---
(4.2.8p15) 2020/06/23 Released by Harlan Stenn <stenn@ntp.org>
const char *condition = "";
const char *last_event;
char buf[128];
+ char numev[32];
if (numassoc == 0) {
(void) xprintf(fp, "No association ID's in list\n");
break;
default:
- last_event = "";
+ snprintf(numev, sizeof(numev), "<?%x?>", event);
+ last_event = numev;
break;
}
snprintf(buf, sizeof(buf),