]> git.puffer.fish Git - mirror/frr.git/commit
lib/clippy: improve graph node member access
authorDavid Lamparter <equinox@opensourcerouting.org>
Sun, 21 Jul 2024 01:29:51 +0000 (18:29 -0700)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 31 Jul 2024 12:08:53 +0000 (08:08 -0400)
commitcb9d20b712c6b09ee6516f134e44e2a4a7181694
tree418e752bc9ea72a951d312488017709750b6c898
parente2344206ca26169bbc64b16a838856253013c1df
lib/clippy: improve graph node member access

Expose all of the struct members of cmd_token, and retrieve them
dynamically rather than copying them around.  The problem with copying
them is that they can change as a result of merge(), and if there is an
existing wrapper object around it will not have its copy updated to
match.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command_py.c