]> git.puffer.fish Git - mirror/frr.git/commit
lib: significantly improve nb cli command sorting 9629/head
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 16 Sep 2021 15:37:12 +0000 (18:37 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 17 Sep 2021 09:00:58 +0000 (12:00 +0300)
commit0de76236b16747f76f705fad82a213dca1675236
treeba30d92fca519e7aae3792fc6657a8536a29325c
parenta8f67b1306d37d37176654e9b5761d3c68b13a57
lib: significantly improve nb cli command sorting

Instead of sorting each command one-by-one using listnode_add_sort, add
them to the list without sorting and then sort the list only once.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/northbound_cli.c