SAT>IP: Fix the UDP packet parser (issue#2212)
This commit is contained in:
parent
0680bdbaaf
commit
81c08e2657
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ satip_discovery_service_received
|
|||
deviceid = argv[1];
|
||||
else if (strcmp(argv[0], "USN") == 0) {
|
||||
n = http_tokenize(argv[1], argv, ARRAY_SIZE(argv), ':');
|
||||
for (i = 0; i < n+1; i++)
|
||||
for (i = 0; i < n-1; i++)
|
||||
if (argv[i] && strcmp(argv[i], "uuid") == 0) {
|
||||
uuid = argv[++i];
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue