summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-09-27 15:37:18 +0200
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-09-27 15:37:18 +0200
commitee5e037df930a4a877cd5de865dd884b3d83814f (patch)
tree02825cd1e950820f1cdcbb7132f698e64cb7210a /main.c
parent3afa38b2e38a53441ce55bf5932553a8672268bf (diff)
downloadMAC-Telnet-ee5e037df930a4a877cd5de865dd884b3d83814f.tar.gz
MAC-Telnet-ee5e037df930a4a877cd5de865dd884b3d83814f.zip
No need to re-invent a square version of the wheel... cleanup
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 5644448..0d90b0e 100644
--- a/main.c
+++ b/main.c
@@ -159,7 +159,7 @@ int main (int argc, char **argv) {
return 1;
}
- etherAddrton(dstmac, argv[2]);
+ ether_aton_r(argv[2], (struct ether_addr *)dstmac);
strncpy(username, argv[3], 254);
strncpy(password, argv[4], 254);