Fix order of redistrebuted routes

Signed-off-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
Robert Langhammer 2017-12-30 01:44:52 +01:00
parent c06c8f627a
commit 0f44c8d25e
1 changed files with 4 additions and 4 deletions

View File

@ -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 @@
}
?>
</body>
</html>
</html>