python module: change UPnP_discover() invocation

fixes #148
This commit is contained in:
Thomas Bernard 2015-08-17 16:22:03 +02:00
parent fd8e8e7593
commit cdb23ff377
1 changed files with 2 additions and 1 deletions

View File

@ -112,8 +112,9 @@ UPnP_discover(UPnPObject *self)
self->devlist = upnpDiscover((int)self->discoverdelay/*timeout in ms*/,
self->multicastif,
self->minissdpdsocket,
0/*sameport flag*/,
0/*sameport flag*/,
0/*ip v6*/,
2/* TTL */,
0/*error */);
Py_END_ALLOW_THREADS
/* Py_RETURN_NONE ??? */