diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-10-14 22:20:24 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-10-14 22:34:33 -0300 |
| commit | b83d7134264089ed0c6b52b4df3dde840c15056b (patch) | |
| tree | c813eefebed7759435ed67da2d6be91b6725d42f /doc/manpages/conf.py | |
| parent | 890b7a3c7760b0465ade73eb493a9079d933c38d (diff) | |
lib: fix harmless lyd_schema_sort() warning
The dnode member of the nb_config structure can be null on
daemons that don't implement any YANG module. As such, update
the nb_cli_show_config_prepare() function to always check if the
libyang data node that is going to be displayed is null or not
before operating on it.
This fixes the following warning (introduced by commit 5e6a9350c1):
libyang: Invalid arguments (lyd_schema_sort())
Reported-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'doc/manpages/conf.py')
0 files changed, 0 insertions, 0 deletions
