diff --git a/index.php b/index.php index b21551e..4c79141 100644 --- a/index.php +++ b/index.php @@ -82,9 +82,9 @@ foreach ($xroute as $temp) { $tempdata = explode(" ", $temp); $output['xroutes'][] = array( - 'prefix' => $tempdata[2], - 'from' => $tempdata[4], - 'metric' => $tempdata[6], + 'prefix' => $tempdata[4], + 'from' => $tempdata[6], + 'metric' => $tempdata[8], ); } @@ -147,4 +147,4 @@ } ?> - \ No newline at end of file +