diff options
author | ajs <ajs> | 2004-12-07 17:15:55 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-12-07 17:15:55 +0000 |
commit | ddc1c18a35ae63634f21c75951cab25bdff11bf7 (patch) | |
tree | 1b00db5535e75d79cbe83f3f146cf0fb1527f30d /lib/command.c | |
parent | e84563fa2d8216ce669f04159f9bee6d84f231bb (diff) | |
download | quagga-ddc1c18a35ae63634f21c75951cab25bdff11bf7.tar.bz2 quagga-ddc1c18a35ae63634f21c75951cab25bdff11bf7.tar.xz |
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 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 9cfbcb54..0247b04b 100644 --- a/lib/command.c +++ b/lib/command.c @@ -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)) { |