miniupnpc.c: improve debug output in upnpDiscoverDevices()
This commit is contained in:
parent
f9ea7ad372
commit
2b9c014394
|
@ -548,7 +548,13 @@ upnpDiscoverDevices(const char * const deviceTypes[],
|
|||
: UPNP_MCAST_ADDR,
|
||||
deviceTypes[deviceIndex], mx);
|
||||
#ifdef DEBUG
|
||||
printf("Sending %s", bufr);
|
||||
/*printf("Sending %s", bufr);*/
|
||||
printf("Sending M-SEARCH request to %s with ST: %s\n",
|
||||
ipv6 ?
|
||||
(linklocal ? "[" UPNP_MCAST_LL_ADDR "]" : "[" UPNP_MCAST_SL_ADDR "]")
|
||||
: UPNP_MCAST_ADDR,
|
||||
deviceTypes[deviceIndex]);
|
||||
|
||||
#endif
|
||||
#ifdef NO_GETADDRINFO
|
||||
/* the following code is not using getaddrinfo */
|
||||
|
|
Loading…
Reference in New Issue