From a161674bcee21384a73834e3ca16ad3bf1c70cf3 Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 16 Aug 2021 21:35:20 +1000 Subject: Protocol change: change hostinfo uptime ... * Change hostinfo parent_uptime and child_uptime to uint32_t (138 years is a long time) --- src/proone-htbtclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/proone-htbtclient.c') diff --git a/src/proone-htbtclient.c b/src/proone-htbtclient.c index d120ecf..b3c5cce 100644 --- a/src/proone-htbtclient.c +++ b/src/proone-htbtclient.c @@ -1681,9 +1681,9 @@ static void emit_hostinfo_frame (const prne_htbt_host_info_t *hi) { emit_mapping_start(); emit_scalar(YAML_STR_TAG, "parent_uptime"); - emit_scalar_fmt(YAML_INT_TAG, "%"PRIu64, hi->parent_uptime); + emit_scalar_fmt(YAML_INT_TAG, "%"PRIu32, hi->parent_uptime); emit_scalar(YAML_STR_TAG, "child_uptime"); - emit_scalar_fmt(YAML_INT_TAG, "%"PRIu64, hi->child_uptime); + emit_scalar_fmt(YAML_INT_TAG, "%"PRIu32, hi->child_uptime); emit_scalar(YAML_STR_TAG, "bne_cnt"); emit_scalar_fmt(YAML_INT_TAG, "%"PRIu64, hi->bne_cnt); emit_scalar(YAML_STR_TAG, "infect_cnt"); -- cgit