diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/command.c | 2 | ||||
-rw-r--r-- | lib/smux.c | 2 | ||||
-rw-r--r-- | lib/version.h | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 71db3aa1..e8c9203f 100644 --- a/lib/command.c +++ b/lib/command.c @@ -39,7 +39,7 @@ struct host host; /* Default motd string. */ char *default_motd = "\r\n\ -Hello, this is quagga (version " QUAGGA_VERSION ").\r\n\ +Hello, this is " QUAGGA_PROGNAME " (version " QUAGGA_VERSION ").\r\n\ Copyright 1996-2002 Kunihiro Ishiguro.\r\n\ \r\n"; @@ -952,7 +952,7 @@ smux_open (int sock) u_char *ptr; int len; u_long version; - u_char progname[] = "quagga-" QUAGGA_VERSION; + u_char progname[] = QUAGGA_PROGNAME "-" QUAGGA_VERSION; if (debug_smux) { diff --git a/lib/version.h b/lib/version.h index 84df21c6..f0387f0b 100644 --- a/lib/version.h +++ b/lib/version.h @@ -22,6 +22,8 @@ #ifndef _ZEBRA_VERSION_H #define _ZEBRA_VERSION_H +#define QUAGGA_PROGNAME "quagga" + #define QUAGGA_VERSION "0.96" #define ZEBRA_BUG_ADDRESS "bug-zebra@gnu.org" |