Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 563462
Collapse All | Expand All

(-)a/src/net.cpp (-1 / +5 lines)
Lines 1120-1129 void ThreadMapPort() Link Here
1120
#ifndef UPNPDISCOVER_SUCCESS
1120
#ifndef UPNPDISCOVER_SUCCESS
1121
    /* miniupnpc 1.5 */
1121
    /* miniupnpc 1.5 */
1122
    devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0);
1122
    devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0);
1123
#else
1123
#elif MINIUPNPC_API_VERSION < 14
1124
    /* miniupnpc 1.6 */
1124
    /* miniupnpc 1.6 */
1125
    int error = 0;
1125
    int error = 0;
1126
    devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
1126
    devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
1127
#else
1128
    /* miniupnpc 1.9.20150730 */
1129
    int error = 0;
1130
    devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error);
1127
#endif
1131
#endif
1128
1132
1129
    struct UPNPUrls urls;
1133
    struct UPNPUrls urls;

Return to bug 563462