projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix W32 interface listing, and correctly copy addr in test-nat (patch by LRN)
[oweals/gnunet.git]
/
src
/
nat
/
upnp-discover.c
diff --git
a/src/nat/upnp-discover.c
b/src/nat/upnp-discover.c
index 5e955db450ecb021b2c13b8a797dbe7ea2cdc6a1..cb1855ccd6456df9debc99bdc270d83cda6dccd3 100644
(file)
--- a/
src/nat/upnp-discover.c
+++ b/
src/nat/upnp-discover.c
@@
-1201,7
+1201,12
@@
UPNP_discover_ (const char *multicastif,
{
if (multicastif)
{
+#ifndef MINGW
if_index = if_nametoindex (multicastif);
+#else
+ // FIXME
+ if_index = 0;
+#endif
if (!if_index)
PRINT_SOCKET_ERROR ("if_nametoindex");