diff --git a/package/gluon-mesh-batman-adv-core/Makefile b/package/gluon-mesh-batman-adv-core/Makefile index c256ac935488456d652bf37e1206ab835f47da7d..cb7426f2ee02da733d3b5f1075a20e6e0f2a51c3 100644 --- a/package/gluon-mesh-batman-adv-core/Makefile +++ b/package/gluon-mesh-batman-adv-core/Makefile @@ -11,7 +11,7 @@ define Package/gluon-mesh-batman-adv-core SECTION:=gluon CATEGORY:=Gluon TITLE:=Support for batman-adv meshing (core) - DEPENDS:=+gluon-core +gluon-client-bridge +firewall +libiwinfo-lua + DEPENDS:=+gluon-core +gluon-client-bridge +firewall +libiwinfo-lua +batman-adv-visdata endef define Build/Prepare diff --git a/package/gluon-mesh-batman-adv-core/files/lib/gluon/announce/neighbours.d/batadv b/package/gluon-mesh-batman-adv-core/files/lib/gluon/announce/neighbours.d/batadv index 69b7981dd7f545f3559150392e6a4d64a4f8eb2b..fa9530378c0cb82f049ef5a39d6596d272368834 100644 --- a/package/gluon-mesh-batman-adv-core/files/lib/gluon/announce/neighbours.d/batadv +++ b/package/gluon-mesh-batman-adv-core/files/lib/gluon/announce/neighbours.d/batadv @@ -14,7 +14,7 @@ end function batadv() local interfaces = {} - local list = io.lines("/sys/kernel/debug/batman_adv/bat0/originators") + local list = io.lines("/tmp/batman-adv-visdata/bat0/originators") for line in list do local mac1, lastseen, tq, mac2, ifname = line:match("^([0-9a-f:]+) +(%d+%.%d+)s +%( *(%d+)%) +([0-9a-f:]+) +%[ *(.-)%]")