mirror of https://github.com/aredn/aredn.git
add olsr/links to aredn data server push info
Change-Id: Iea15ac7f4ea0858702bb3d8eaa06f36135f76eb4
This commit is contained in:
parent
a219802d5b
commit
4ada350a4c
|
@ -70,7 +70,7 @@ if($parms{button_uploaddata})
|
|||
chop($si);
|
||||
|
||||
# get olsrd topo information
|
||||
my $topo=`curl 'http://localnode:9090/topology' 2>/dev/null`;
|
||||
my $topo=`curl 'http://localnode:9090/topology/links' 2>/dev/null`;
|
||||
chomp($topo);
|
||||
# add topo subdoc and close root doc
|
||||
my $newsi= sprintf "%s,\"olsr\": %s}",$si, $topo;
|
||||
|
|
Loading…
Reference in New Issue