[Olsr-dev] http-info down since some days (luci) solved

Patrick (spam-protected)
Sun Jul 20 22:14:05 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi
Am 23.06.14 20:17, schrieb Ufo:
> Am 23.06.14 18:13, schrieb Jo-Philipp Wich:
> 
>> "neigh.sh" uses txtinfo while LuCI uses jsoninfo.
> 
> no, since some time jsoninfo is used for that too.
> but i found the problem :-) in
> http://git.openwrt.org/?p=project/luci.git;a=blob_plain;f=applications/luci-olsr/luasrc/controller/olsr.lua;hb=HEAD
> 
> The if-construct isnt very nice now and failing with our config :-(
> As a workaround i added that IpVersion to our /etc/config/olsrd
> 
> Maybe someone could change that in code please?
yes have do this. :-)
https://github.com/freifunk/firmware-berlin/blob/master/patches/luci-olsr6.patch
but it need too review.

 or is that value really
> mandatory now :-/
> 
> 
> 	local IpVersion = uci:get_first("olsrd", "olsrd","IpVersion")
> 	if IpVersion == "4" or IpVersion == "6and4" then
> 		jsonreq4 = utl.exec("echo /status | nc 127.0.0.1 9090")
> 	end
> 	if IpVersion == "6" or IpVersion == "6and4" then
> 		jsonreq6 = utl.exec("echo /status | nc ::1 9090")
> 	end
> 
> 
> greetings, ufo
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlPMIw0ACgkQr9m0OkMZoqTVugCfTbSAtzyt2zbplyb9cNS0zYnu
rwoAoI1vQNnDqxLclNOPw7H0ijxrYeU7
=w62Q
-----END PGP SIGNATURE-----




More information about the Olsr-dev mailing list