6ad357530527b96ec89f88c711e64a651c4faff8
[openwrt/svn-archive/archive.git] / net / quagga / patches / 000-upstream-miss_str.patch
1 --- a/lib/vty.c
2 +++ b/lib/vty.c
3 @@ -250,7 +250,7 @@ vty_hello (struct vty *vty)
4 vty_out (vty, "MOTD file not found%s", VTY_NEWLINE);
5 }
6 else if (host.motd)
7 - vty_out (vty, host.motd);
8 + vty_out (vty, "%s", host.motd);
9 }
10
11 /* Put out prompt and wait input from user. */