mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Merge pull request #566 from laserb/master
modified data_url for firmware >= 6.20
This commit is contained in:
commit
cb9544f409
1 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ if(isset($argv[1]) && $argv[1] == "autoconf") {
|
|||
|
||||
|
||||
function GetCommonLinkProperties() {
|
||||
$data_url = '/upnp/control/WANCommonIFC1';
|
||||
$data_url = '/igdupnp/control/WANCommonIFC1';
|
||||
$data_soap = '"urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetCommonLinkProperties"';
|
||||
$data_xml = '<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetCommonLinkProperties xmlns:u=urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 /></s:Body></s:Envelope>';
|
||||
$tmp = DoCurl($data_url,$data_soap,$data_xml);
|
||||
|
@ -70,7 +70,7 @@ function GetCommonLinkProperties() {
|
|||
}
|
||||
|
||||
function GetAddonInfos() {
|
||||
$data_url = '/upnp/control/WANCommonIFC1';
|
||||
$data_url = '/igdupnp/control/WANCommonIFC1';
|
||||
$data_soap = '"urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"';
|
||||
$data_xml = '<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetAddonInfos xmlns:u=urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 /></s:Body></s:Envelope>';
|
||||
$tmp = DoCurl($data_url,$data_soap,$data_xml);
|
||||
|
@ -81,7 +81,7 @@ function GetAddonInfos() {
|
|||
}
|
||||
|
||||
function GetExternalIP() {
|
||||
$data_url = '/upnp/control/WANIPConn1';
|
||||
$data_url = '/igdupnp/control/WANIPConn1';
|
||||
$data_soap = '"urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress"';
|
||||
$data_xml = '<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetExternalIPAddress xmlns:u=urn:schemas-upnp-org:service:WANIPConnection:1 /></s:Body></s:Envelope>';
|
||||
$tmp = DoCurl($data_url,$data_soap,$data_xml);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue