diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vty/command.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vty/command.c b/src/vty/command.c index 4825109e..6d63d841 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -4219,6 +4219,11 @@ void host_config_set(const char *filename) host.config = talloc_strdup(tall_vty_cmd_ctx, filename); } +const char *host_config_file(void) +{ + return host.config; +} + /*! Deprecated, now happens implicitly when calling install_node(). * Users of the API may still attempt to call this function, hence * leave it here as a no-op. */ |