diff options
author | David Timber <mieabby@gmail.com> | 2021-08-16 21:35:20 +1000 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2021-08-16 21:35:20 +1000 |
commit | a161674bcee21384a73834e3ca16ad3bf1c70cf3 (patch) | |
tree | 3a42a20055ce6bed9eb679e1bd169a03b0ae5528 /src/proone-htbtclient.c | |
parent | f8afe0c17c248e7eda1be258786a089f5bf6c3bf (diff) |
Protocol change: change hostinfo uptime ...
* Change hostinfo parent_uptime and child_uptime to uint32_t (138 years
is a long time)
Diffstat (limited to 'src/proone-htbtclient.c')
-rw-r--r-- | src/proone-htbtclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |