]> git.puffer.fish Git - matthieu/frr.git/commit
lib: dont be tricky with session_id just make it a session_id
authorChristian Hopps <chopps@labn.net>
Thu, 4 May 2023 03:49:16 +0000 (23:49 -0400)
committerChristian Hopps <chopps@labn.net>
Sun, 28 May 2023 09:13:22 +0000 (05:13 -0400)
commitd6665cf63fec810a06958e2a277076e81ef5a026
tree6c6c16a4fb64bc6e198ae04e9067858c44200e44
parentbcc350971f94f20bac8a86eab2bbcc604c6646da
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>
lib/mgmt_fe_client.c
lib/mgmt_fe_client.h
lib/vty.c
lib/vty.h
mgmtd/mgmt_fe_adapter.c