mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
SAT>IP client: UPnP header field names are case insensitive (#83)
Co-authored-by: Mihai Renea <m.renea@avm.de>
This commit is contained in:
parent
0a216f1cf9
commit
64554ad0cc
@ -76,13 +76,13 @@ void cSatipMsearch::Process(void)
|
||||
if (status) {
|
||||
// Check the location data
|
||||
// LOCATION: http://192.168.0.115:8888/octonet.xml
|
||||
if (startswith(r, "LOCATION:")) {
|
||||
if (strcasestr(r, "LOCATION:") == r) {
|
||||
location = compactspace(r + 9);
|
||||
debug1("%s location='%s'", __PRETTY_FUNCTION__, location);
|
||||
}
|
||||
// Check the source type
|
||||
// ST: urn:ses-com:device:SatIPServer:1
|
||||
else if (startswith(r, "ST:")) {
|
||||
else if (strcasestr(r, "ST:") == r) {
|
||||
char *st = compactspace(r + 3);
|
||||
if (strstr(st, "urn:ses-com:device:SatIPServer:1"))
|
||||
valid = true;
|
||||
|
Loading…
Reference in New Issue
Block a user