mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 18:27:21 +00:00
lib: fix doc comment of the "cli_show_end" northbound callback
The 'show_defaults' parameter is present on the "cli_show" callback only. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
20054cb4b1
commit
681b22affa
@ -347,15 +347,6 @@ struct nb_callbacks {
|
|||||||
* dnode
|
* dnode
|
||||||
* libyang data node that should be shown in the form of a CLI
|
* libyang data node that should be shown in the form of a CLI
|
||||||
* command.
|
* command.
|
||||||
*
|
|
||||||
* show_defaults
|
|
||||||
* Specify whether to display default configuration values or not.
|
|
||||||
* This parameter can be ignored most of the time since the
|
|
||||||
* northbound doesn't call this callback for default leaves or
|
|
||||||
* non-presence containers that contain only default child nodes.
|
|
||||||
* The exception are commands associated to multiple configuration
|
|
||||||
* nodes, in which case it might be desirable to hide one or more
|
|
||||||
* parts of the command when this parameter is set to false.
|
|
||||||
*/
|
*/
|
||||||
void (*cli_show_end)(struct vty *vty, struct lyd_node *dnode);
|
void (*cli_show_end)(struct vty *vty, struct lyd_node *dnode);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user