remove useless variable
This commit is contained in:
parent
7a7c275445
commit
1b43fa85b5
|
@ -90,13 +90,12 @@ static int init_upnp(void)
|
|||
struct UPNPDev *trydev = NULL;
|
||||
char *descXML;
|
||||
int descXMLsize = 0;
|
||||
const char *multicastif = 0;
|
||||
const char *minissdpdpath = switch_core_get_variable("local_ip_v4");
|
||||
|
||||
memset(&nat_globals.urls, 0, sizeof(struct UPNPUrls));
|
||||
memset(&nat_globals.data, 0, sizeof(struct IGDdatas));
|
||||
|
||||
devlist = upnpDiscover(3000, (multicastif?multicastif:0) , minissdpdpath, 0);
|
||||
devlist = upnpDiscover(3000, NULL, minissdpdpath, 0);
|
||||
|
||||
if (devlist) {
|
||||
dev = devlist;
|
||||
|
|
Loading…
Reference in New Issue