[FIX] Firmware für Router mit dem Namen "-gl-inet-" wird nun als "GL-Inet (alt)" angezeigt und Firmware mit nur "-gl-" als "GL-Inet", da das "inet" im Namen der Firmware der aktuellen Router fehlt.
This commit is contained in:
parent
1adea2e18e
commit
b38564632f
@ -55,6 +55,12 @@
|
||||
),
|
||||
array(
|
||||
"name" => "GL-Inet",
|
||||
"filename" => "-gl-",
|
||||
"offset_modell" => 3,
|
||||
"offset_version" => 4
|
||||
),
|
||||
array(
|
||||
"name" => "GL-Inet (alt)",
|
||||
"filename" => "gl-inet",
|
||||
"offset_modell" => 8,
|
||||
"offset_version" => -1
|
||||
|
@ -58,7 +58,7 @@ for( $i=0; $i<count($entwicklung); $i++ ) {
|
||||
case "D-Link":
|
||||
$router_tmp[$x]['version'] = substr($files[$entwicklung[$i]][$installation[$j]][$x], strripos($files[$entwicklung[$i]][$installation[$j]][$x], "rev"), -4-$offset_sysupgrade[$j]);
|
||||
break;
|
||||
case "GL-Inet":
|
||||
case "GL-Inet (alt)":
|
||||
$router_tmp[$x]['version'] = substr($files[$entwicklung[$i]][$installation[$j]][$x], strripos($files[$entwicklung[$i]][$installation[$j]][$x], "v"), -4-$offset_sysupgrade[$j]);
|
||||
break;
|
||||
case "TP-Link":
|
||||
|
Loading…
Reference in New Issue
Block a user