diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2023-12-01 13:32:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-01 13:32:32 +0200 |
| commit | aa6934bc5e45491d184590c54338bd123bfec619 (patch) | |
| tree | 9578e1404fdafafa537fd6ac84950f0e4b8103ce /lib/affinitymap_cli.c | |
| parent | 05567badb44fcaae35bb1cf801cfe327486d9c43 (diff) | |
| parent | 2c01083d35263fb3121340cc01f3b545075ae8e6 (diff) | |
Merge pull request #14911 from LabNConsulting/chopps/speed-xpath-up
lib: all: remove './' from xpath 22% speedup
Diffstat (limited to 'lib/affinitymap_cli.c')
| -rw-r--r-- | lib/affinitymap_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/affinitymap_cli.c b/lib/affinitymap_cli.c index a2d5e8eccf..d417ae1951 100644 --- a/lib/affinitymap_cli.c +++ b/lib/affinitymap_cli.c @@ -93,8 +93,8 @@ void cli_show_affinity_map(struct vty *vty, const struct lyd_node *dnode, bool show_defaults __attribute__((__unused__))) { vty_out(vty, "affinity-map %s bit-position %u\n", - yang_dnode_get_string(dnode, "./name"), - yang_dnode_get_uint16(dnode, "./value")); + yang_dnode_get_string(dnode, "name"), + yang_dnode_get_uint16(dnode, "value")); } /* Initialization of affinity map vector. */ |
