From 1a88dd5744496aaf1fe5c2d4a859cae0612fdff3 Mon Sep 17 00:00:00 2001 From: paulo Date: Fri, 18 Dec 2009 16:48:20 +0000 Subject: QDEBUG handling. Debug banner on stderr, vty and log file. Annouce before and after reading config file. Announce on all vty when shutting down. --- lib/command.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/command.c') 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; -- cgit v1.2.3