From 59cdd34a3248acac61fd3edebca860066fd4c2fd Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Wed, 23 Feb 2011 11:59:02 +0100 Subject: Bugfix in mactelnet. Raw mode did not successfully autodetect outgoing interface. --- mactelnet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mactelnet.c') diff --git a/mactelnet.c b/mactelnet.c index ff889c2..e69c88f 100644 --- a/mactelnet.c +++ b/mactelnet.c @@ -331,6 +331,7 @@ static int find_interface() { /* Set the global socket handle for send_udp() */ send_socket = testsocket; + device_index = get_device_index(testsocket, devicename); /* Send a SESSIONSTART message with the current device */ init_packet(&data, MT_PTYPE_SESSIONSTART, srcmac, dstmac, sessionkey, 0); -- cgit v1.2.3