diff options
author | ajs <ajs> | 2004-12-07 17:15:55 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-12-07 17:15:55 +0000 |
commit | 82146b88915ca614ee1c28659478d6e310d84110 (patch) | |
tree | f0dc71770433f2bb458f38595790a0b2b34ff9ec /lib/command.c | |
parent | 274a4a4447b13f89f8237156a887d05a24a73cc6 (diff) |
2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* command.c: (config_write_host) Note that "log trap" is deprecated
when writing out the config.
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/command.c b/lib/command.c index 18829672..cabdb237 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1,5 +1,5 @@ /* - $Id: command.c,v 1.28 2004/12/07 15:39:32 ajs Exp $ + $Id: command.c,v 1.29 2004/12/07 17:15:56 ajs Exp $ Command interpreter routine for virtual terminal [aka TeletYpe] Copyright (C) 1997, 98, 99 Kunihiro Ishiguro @@ -546,8 +546,12 @@ config_write_host (struct vty *vty) } if (zlog_default->default_lvl != LOG_DEBUG) - vty_out (vty, "log trap %s%s", - zlog_priority[zlog_default->default_lvl], VTY_NEWLINE); + { + vty_out (vty, "! N.B. The 'log trap' command is deprecated.%s", + VTY_NEWLINE); + vty_out (vty, "log trap %s%s", + zlog_priority[zlog_default->default_lvl], VTY_NEWLINE); + } if (host.logfile && (zlog_default->maxlvl[ZLOG_DEST_FILE] != ZLOG_DISABLED)) { |