SAT>IP: Fix the UDP packet parser (issue#2212)

This commit is contained in:
Jaroslav Kysela 2014-08-12 17:22:18 +02:00
parent 0680bdbaaf
commit 81c08e2657

View file

@ -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;