summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2009-12-18 16:48:20 +0000
committerpaulo <paul@bayleaf.org.uk>2009-12-18 16:48:20 +0000
commit1a88dd5744496aaf1fe5c2d4a859cae0612fdff3 (patch)
tree3dda7a4c2d4eddbd2b3a2c3f873d8015aded6362 /lib/command.c
parentbb48a82760858f94e7d2ce767ee61d98be2ee071 (diff)
downloadquagga-1a88dd5744496aaf1fe5c2d4a859cae0612fdff3.tar.bz2
quagga-1a88dd5744496aaf1fe5c2d4a859cae0612fdff3.tar.xz
QDEBUG handling. Debug banner on stderr, vty and log file. Annouce
before and after reading config file. Announce on all vty when shutting down.
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index f1ec15c5..c3c9145d 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -89,6 +89,11 @@ Hello, this is " QUAGGA_PROGNAME " (version " QUAGGA_VERSION ").\r\n\
" QUAGGA_COPYRIGHT "\r\n\
\r\n";
+#ifdef QDEBUG
+const char *debug_banner =
+ QUAGGA_PROGNAME " version " QUAGGA_VERSION " QDEBUG=" QDEBUG " "
+ __DATE__ " " __TIME__;
+#endif
static struct facility_map {
int facility;