sync with OpenBSD -current
This commit is contained in:
parent
659ea2942e
commit
0f27a61c5c
131 changed files with 2461 additions and 5218 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: output_json.c,v 1.36 2023/11/20 14:18:21 claudio Exp $ */
|
||||
/* $OpenBSD: output_json.c,v 1.37 2023/12/19 10:32:20 claudio Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
|
||||
|
@ -1009,6 +1009,7 @@ json_rtr(struct ctl_show_rtr *rtr)
|
|||
json_do_string("local_addr", log_addr(&rtr->local_addr));
|
||||
|
||||
if (rtr->session_id != -1) {
|
||||
json_do_uint("version", rtr->version);
|
||||
json_do_uint("session_id", rtr->session_id);
|
||||
json_do_uint("serial", rtr->serial);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue