include $(TOPDIR)/rules.mk
PKG_NAME:=olsrd
-PKG_VERSION:=0.6.6
-PKG_RELEASE:=3
+PKG_VERSION:=0.6.6.1
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.olsr.org/releases/0.6
-PKG_MD5SUM:=f98e5a10f1842f6028023da114bf1e1a
+PKG_MD5SUM:=ef480495f307232f1df931ae5df18bf9
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
+++ /dev/null
-diff --git a/lib/jsoninfo/src/olsrd_jsoninfo.c b/lib/jsoninfo/src/olsrd_jsoninfo.c
-index 3f7b7b9..966292c 100644
---- a/lib/jsoninfo/src/olsrd_jsoninfo.c
-+++ b/lib/jsoninfo/src/olsrd_jsoninfo.c
-@@ -1283,7 +1283,7 @@ send_info(unsigned int send_what, int the_socket)
- abuf_init(&abuf, 32768);
-
- // only add if outputing JSON
-- if (send_what & SIW_ALL) abuf_json_open_array_entry(&abuf);
-+ if (send_what & SIW_ALL) abuf_puts(&abuf, "{");
-
- if ((send_what & SIW_LINKS) == SIW_LINKS) ipc_print_links(&abuf);
- if ((send_what & SIW_NEIGHBORS) == SIW_NEIGHBORS) ipc_print_neighbors(&abuf);
-@@ -1305,7 +1305,7 @@ send_info(unsigned int send_what, int the_socket)
- abuf_json_int(&abuf, "timeSinceStartup", now_times);
- if(*uuid != 0)
- abuf_json_string(&abuf, "uuid", uuid);
-- abuf_json_close_array_entry(&abuf);
-+ abuf_puts(&abuf, "}\n");
- }
-
- /* this outputs the olsrd.conf text directly, not JSON */