packages/utils/collectd/patches/400-fix-olsrd-get-all.patch
jow dd40e5c039 [packages] collectd: fix olsrd plugin statistics. Recent olsr-mod-txtinfo versions require the client to send "/all" to report all stats
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:54:46 +00:00

12 lines
258 B
Diff

--- a/src/olsrd.c
+++ b/src/olsrd.c
@@ -653,7 +653,7 @@ static int olsrd_read (void) /* {{{ */
if (fh == NULL)
return (-1);
- fputs ("\r\n", fh);
+ fputs ("/all \r\n", fh);
fflush (fh);
while (fgets (buffer, sizeof (buffer), fh) != NULL)