diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-11-12 13:39:46 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-12 13:39:46 -0300 |
| commit | 220e485b4d5f2bee07caf2ad698f18e4807dc380 (patch) | |
| tree | c72af93c0df5a6e693b110979456e8830deabb06 /lib/command.h | |
| parent | 7b6b97edcd2735b997c89e12ef36a8828bfdbdf3 (diff) | |
| parent | 038984fd3c3ebdfabd316e457a204d0dbd8344ab (diff) | |
Merge pull request #5209 from ton31337/feature/banner_motd_from_input
vtysh: Add an option to set banner motd from an input
Diffstat (limited to 'lib/command.h')
| -rw-r--r-- | lib/command.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h index d5dc129c72..73c15469e7 100644 --- a/lib/command.h +++ b/lib/command.h @@ -78,7 +78,7 @@ struct host { int encrypt; /* Banner configuration. */ - const char *motd; + char *motd; char *motdfile; }; @@ -499,6 +499,7 @@ extern void host_config_set(const char *); extern void print_version(const char *); extern int cmd_banner_motd_file(const char *); +extern void cmd_banner_motd_line(const char *line); /* struct host global, ick */ extern struct host host; |
