diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2011-02-23 11:59:02 +0100 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2011-02-23 11:59:02 +0100 |
commit | 59cdd34a3248acac61fd3edebca860066fd4c2fd (patch) | |
tree | 30e07e006413847d5dff929c03a44d99d9f09d96 | |
parent | d009537a6eceda1bdc5abddb50f41f2030d0dacc (diff) | |
download | MAC-Telnet-59cdd34a3248acac61fd3edebca860066fd4c2fd.tar.gz MAC-Telnet-59cdd34a3248acac61fd3edebca860066fd4c2fd.zip |
Bugfix in mactelnet. Raw mode did not successfully autodetect outgoing interface.
-rw-r--r-- | mactelnet.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |