mirror of https://github.com/aredn/aredn.git
change AREDN upload to only pull /links from OLSR
enables support for drawing map links as well. fixes AREDN->ticket:181 Change-Id: I5b0dd4b99d3892d136021faa4a5bd5856607b2a5
This commit is contained in:
parent
dc17259f4d
commit
efd133cbd4
|
@ -65,7 +65,7 @@ if($parms{button_uploaddata})
|
|||
chop($si);
|
||||
|
||||
# get olsrd topo information
|
||||
my $topo=`curl 'http://localnode:9090/topology/links' 2>/dev/null`;
|
||||
my $topo=`curl 'http://localnode:9090/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