diff options
| author | Christian Hopps <chopps@labn.net> | 2023-05-03 23:49:16 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-05-28 05:13:22 -0400 |
| commit | d6665cf63fec810a06958e2a277076e81ef5a026 (patch) | |
| tree | 6c6c16a4fb64bc6e198ae04e9067858c44200e44 /lib/vty.h | |
| parent | bcc350971f94f20bac8a86eab2bbcc604c6646da (diff) | |
lib: dont be tricky with session_id just make it a session_id
- Previously was substituting a pointer to local allocated session for the
session_id returned from the FE adapter. This complexity isn't needed.
- Get rid of "%llu" format and the casts that came with it, instead use PRIu64
and the actual (uint64_t) type.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/vty.h')
| -rw-r--r-- | lib/vty.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -218,8 +218,8 @@ struct vty { size_t frame_pos; char frame[1024]; - uintptr_t mgmt_session_id; - uint64_t mgmt_client_id; + uint64_t mgmt_session_id; /* FE adapter identifies session w/ this */ + uint64_t mgmt_client_id; /* FE vty client identifies w/ this ID */ uint64_t mgmt_req_id; bool mgmt_req_pending; bool mgmt_locked_candidate_ds; |
