summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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);