diff options
author | Everton Marques <everton.marques@gmail.com> | 2014-09-18 12:06:53 -0300 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-02-04 06:08:00 +0100 |
commit | 74b4fad93e89df358441b1b3b23282aaca8c80b8 (patch) | |
tree | 1baaf3d2173cb33fa44c3dae4b45d0720479367d /pimd/pim_main.c | |
parent | 3d62667ab0e8e7ee6e17e883b144e25ee84c4545 (diff) | |
download | quagga-74b4fad93e89df358441b1b3b23282aaca8c80b8.tar.bz2 quagga-74b4fad93e89df358441b1b3b23282aaca8c80b8.tar.xz |
pimd: Remove motd tweaking.
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 768ac08c..68cfe218 100644 --- a/pimd/pim_main.c +++ b/pimd/pim_main.c @@ -46,7 +46,6 @@ extern int zclient_debug; #endif extern struct host host; -extern const char *default_motd; char config_default[] = SYSCONFDIR PIMD_DEFAULT_CONFIG; @@ -246,18 +245,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; |