diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-03 05:55:46 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-04 03:09:09 +0100 |
commit | 7d0fe8713c9cf55739e5cff772def3864f1ca82a (patch) | |
tree | 6aea94b893c1cbcd0eeabb53853c6304a8288b37 /pimd/pim_main.c | |
parent | d64aaf21c613c4ea3bcb41b718102126540c6d9e (diff) | |
download | quagga-7d0fe8713c9cf55739e5cff772def3864f1ca82a.tar.bz2 quagga-7d0fe8713c9cf55739e5cff772def3864f1ca82a.tar.xz |
pimd: remove motd tinkering
Diffstat (limited to 'pimd/pim_main.c')
-rw-r--r-- | pimd/pim_main.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c index ace49cd7..71749303 100644 --- a/pimd/pim_main.c +++ b/pimd/pim_main.c @@ -47,7 +47,6 @@ extern int zclient_debug; #endif extern struct host host; -extern const char *default_motd; char config_default[MAXPATHLEN]; @@ -252,18 +251,6 @@ int main(int argc, char** argv, char** envp) { zlog_notice("Quagga %s " PIMD_PROGNAME " %s starting, VTY interface at port TCP %d", QUAGGA_VERSION, PIMD_VERSION, vty_port); -#ifdef PIM_MOTD_VERSION - /* Tweak default MOTD to include pimd version */ - zlog_notice("PIM_MOTD_VERSION: adding pimd version to default MOTD"); - if (host.motd == default_motd) { - host.motd = - "\r\n\ -Hello, this is " QUAGGA_PROGNAME " " QUAGGA_VERSION " " PIMD_PROGNAME " " PIMD_VERSION_STR "\r\n\ -" QUAGGA_COPYRIGHT "\r\n\ -\r\n"; - } -#endif - #ifdef PIM_DEBUG_BYDEFAULT zlog_notice("PIM_DEBUG_BYDEFAULT: Enabling all debug commands"); PIM_DO_DEBUG_PIM_EVENTS; |