Gisle Vanem on 24 May 2004 22:32:03 -0000 |
Another patch needed: If one have multiple IPv4 capable devices (under Windows that mean an intreface with at least one AF_INET address), libnet_init() with a NULL-device will select the 1st capable device. This is wrong in my case since I have an OpenVPN tunnel device ahead of my normal IPv4 interface. --- tcptraceroute.c.orig Tue May 25 00:24:44 2004 +++ tcptraceroute.c Tue May 25 00:24:31 2004 @@ -1185,7 +1185,7 @@ void initlibnet() { #if (LIBNET_API_VERSION >= 110) - libnet_context = libnet_init(LIBNET_RAW4, NULL, errbuf); + libnet_context = libnet_init(LIBNET_RAW4, device, errbuf); if (libnet_context == NULL) fatal("libnet_init() failed: %s\n", errbuf); #else --gv _______________________________________________ tcptraceroute-dev mailing list tcptraceroute-dev@netisland.net http://lists.netisland.net/mailman/listinfo/tcptraceroute-dev
|
|