Source: opengnb Severity: important Tags: trixie sid ftbfs patch Hi,
Please find the attached patch to fix your package for the transition to miniupnpc 2.2.8.
--- a/src/es/gnb_es_upnp.c +++ b/src/es/gnb_es_upnp.c @@ -109,7 +109,7 @@ static void gnb_es_upnp_em(gnb_es_ctx *es_ctx, gnb_conf_t *conf, gnb_log_ctx_t * return; } - r = UPNP_GetValidIGD(devlist, &urls, &data, lan_addr, sizeof(lan_addr)); + r = UPNP_GetValidIGD(devlist, &urls, &data, lan_addr, sizeof(lan_addr), NULL, 0); switch (r) { @@ -123,11 +123,16 @@ static void gnb_es_upnp_em(gnb_es_ctx *es_ctx, gnb_conf_t *conf, gnb_log_ctx_t * break; case 2: - GNB_LOG1(log, GNB_LOG_ID_ES_UPNP, "UPNPC Found a (not connected?) IGD : %s\n", urls.controlURL); //有时得到 ipv6的 urls?然后失败 + GNB_LOG1(log, GNB_LOG_ID_ES_UPNP, "UPNPC Found an IGD, but its IP address is reserved (non routable) : %s\n", urls.controlURL); GNB_LOG1(log, GNB_LOG_ID_ES_UPNP, "UPNPC Trying to continue anyway\n"); break; case 3: + GNB_LOG1(log, GNB_LOG_ID_ES_UPNP, "UPNPC Found a (not connected?) IGD : %s\n", urls.controlURL); //有时得到 ipv6的 urls?然后失败 + GNB_LOG1(log, GNB_LOG_ID_ES_UPNP, "UPNPC Trying to continue anyway\n"); + break; + + case 4: GNB_LOG1(log, GNB_LOG_ID_ES_UPNP, "UPNPC UPnP device found. Is it an IGD ? : %s\n", urls.controlURL); GNB_LOG1(log, GNB_LOG_ID_ES_UPNP, "UPNPC Trying to continue anyway\n"); break;