diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-10-20 17:21:34 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-10-20 17:21:34 +0000 |
| commit | c6a7d59c20f238aab096f918acf84ca30265ed07 (patch) | |
| tree | 511b7a16c2ba5f44c73bec40fd8994a458edd341 /lib/json.h | |
| parent | 7b8def580a061c7e454db83b85e8453d13d65c78 (diff) | |
bgpd: 'show ip bgp summary json' shows large negative value for "peerUptimeMsec"
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Ticket: CM-13239
Diffstat (limited to 'lib/json.h')
| -rw-r--r-- | lib/json.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/json.h b/lib/json.h index c8d7fae1cd..b217df0a7b 100644 --- a/lib/json.h +++ b/lib/json.h @@ -39,6 +39,8 @@ extern void json_object_string_add(struct json_object* obj, const char *key, const char *s); extern void json_object_int_add(struct json_object* obj, const char *key, int32_t i); +extern void json_object_long_add(struct json_object* obj, const char *key, + int64_t i); extern void json_object_boolean_false_add(struct json_object* obj, const char *key); extern void json_object_boolean_true_add(struct json_object* obj, |
