git.cweiske.de
/
linksys-wrt3g-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
detect firmware version
[linksys-wrt3g-tools.git]
/
Wrt3g
/
HtmlParser.php
diff --git
a/Wrt3g/HtmlParser.php
b/Wrt3g/HtmlParser.php
index f369bd1648366145847adaa8f52c60ded611985b..9574cd032ac6c2bd14448d199f626614ac4caabb 100644
(file)
--- a/
Wrt3g/HtmlParser.php
+++ b/
Wrt3g/HtmlParser.php
@@
-208,6
+208,10
@@
class Wrt3g_HtmlParser
}
}
+ if (preg_match('/Capture\\(share.firmwarever\\):(.+?)</', $body, $arMatches)) {
+ $arRaw['router firmware'] = trim($arMatches[1]);
+ }
+
return $arRaw;
}
}
\ No newline at end of file