Revert "Contribs: update pupnp to 1.6.21"
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Wed, 19 Apr 2017 16:40:35 +0000 (18:40 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Wed, 19 Apr 2017 16:40:52 +0000 (18:40 +0200)
This reverts commit 87d6c82901f646c93328cb10ce03c4d36ebe369d.

contrib/src/upnp/SHA512SUMS
contrib/src/upnp/dont_use_down_intf.patch
contrib/src/upnp/rules.mak

index 7da63fc..f30c34e 100644 (file)
@@ -1 +1 @@
-65a2989497b941dfa1f7ac09fe44267de4a5231af25a304f0f6e754c7cbb578bdcb3c500188b5ebfbff9f579099db7501817d45e1724ef8e384d6d918bcdcdeb  libupnp-1.6.21.tar.bz2
+97af62a7483cc19cfe80157cbc3383c1b4b7c9c39b848f4ed063784b74df0b9b0527f7b467e01451e0a44dbf9e8a9eab510619146a6ee1e3dce46f3e4af6e661  libupnp-1.6.19.tar.bz2
index a360eb4..6af6a47 100644 (file)
@@ -1,12 +1,12 @@
---- libupnp-1.6.21/upnp/src/api/upnpapi.c.orig 2017-04-09 19:05:45.803495288 +0200
-+++ libupnp-1.6.21/upnp/src/api/upnpapi.c      2017-04-09 19:07:08.719491594 +0200
-@@ -3260,7 +3260,8 @@
-               ifname_found = 1;
-       }
-       for (adapts_item = adapts; adapts_item != NULL; adapts_item = adapts_item->Next) {
+--- upnp_clean/upnp/src/api/upnpapi.c  2015-05-11 18:04:45.054340200 +0200
++++ libupnp-1.6.19/upnp/src/api/upnpapi.c      2015-05-11 18:11:37.438360600 +0200
+@@ -3258,7 +3258,8 @@
+               ifname_found = 1;
+       }
+       for (adapts_item = adapts; adapts_item != NULL; adapts_item = adapts_item->Next) {
 -              if (adapts_item->Flags & IP_ADAPTER_NO_MULTICAST) {
 +              if (adapts_item->Flags & IP_ADAPTER_NO_MULTICAST ||
 +                      adapts_item->OperStatus != IfOperStatusUp) {
-                       adapts_item = adapts_item->Next;
-                       continue;
-               }
+                       continue;
+        }
+               if (ifname_found == 0) {
index 5c77121..5a4d815 100644 (file)
@@ -1,5 +1,5 @@
 # UPNP
-UPNP_VERSION := 1.6.21
+UPNP_VERSION := 1.6.19
 UPNP_URL := $(SF)/pupnp/libupnp-$(UPNP_VERSION).tar.bz2
 
 ifdef BUILD_NETWORK