diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vty/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/vty.c b/src/vty/vty.c index bd0d2c37..3d9c0d64 100644 --- a/src/vty/vty.c +++ b/src/vty/vty.c @@ -1773,7 +1773,7 @@ extern void *tall_bsc_ctx; /* Install vty's own commands like `who' command. */ void vty_init(struct vty_app_info *app_info) { - tall_vty_ctx = talloc_named_const(app_info->tall_ctx, 0, "vty"); + tall_vty_ctx = talloc_named_const(NULL, 0, "vty"); tall_vty_vec_ctx = talloc_named_const(tall_vty_ctx, 0, "vty_vector"); tall_vty_cmd_ctx = talloc_named_const(tall_vty_ctx, 0, "vty_command"); |