diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-02-04 21:52:47 +0200 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-02-04 22:25:57 +0200 |
| commit | ea6a7d3fa3ec7ee515dade6414636e43d8677f1c (patch) | |
| tree | 5b4513e0b0761972954bedcb8e46e396a43baf74 /lib/if.h | |
| parent | 7c02567b4aa921c0a09ce326f1c49620e0894372 (diff) | |
lib, mgmtd: don't register NB config callbacks in mgmtd
mgmtd is supposed to only register CLI callbacks. If configuration
callbacks are registered, they are getting called on startup when mgmtd
reads config files, and they can use infrastructure that is not
initialized on mgmtd, or allocate some memory that is never freed.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/if.h')
| -rw-r--r-- | lib/if.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -636,6 +636,7 @@ extern void if_down_via_zapi(struct interface *ifp); extern void if_destroy_via_zapi(struct interface *ifp); extern const struct frr_yang_module_info frr_interface_info; +extern const struct frr_yang_module_info frr_interface_cli_info; #ifdef __cplusplus } |
