packages/net/quagga-unstable/patches/000-upstream-miss_str.patch
acoul af97f980e6 net/quagga-unstable: add some upstream patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 09:22:39 +00:00

12 lines
286 B
Diff

--- a/lib/vty.c
+++ b/lib/vty.c
@@ -250,7 +250,7 @@ vty_hello (struct vty *vty)
vty_out (vty, "MOTD file not found%s", VTY_NEWLINE);
}
else if (host.motd)
- vty_out (vty, host.motd);
+ vty_out (vty, "%s", host.motd);
}
/* Put out prompt and wait input from user. */