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:
Darryl Quinn 2016-08-24 20:40:47 -05:00
parent dc17259f4d
commit efd133cbd4
1 changed files with 1 additions and 1 deletions

View File

@ -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;