--- ansh/src/ansh.c 2011/10/13 16:08:52 1.1.1.1.2.5 +++ ansh/src/ansh.c 2011/10/14 07:47:21 1.1.1.1.2.6 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: ansh.c,v 1.1.1.1.2.5 2011/10/13 16:08:52 misho Exp $ + * $Id: ansh.c,v 1.1.1.1.2.6 2011/10/14 07:47:21 misho Exp $ * ************************************************************************* The ELWIX and AITNET software is distributed under the following @@ -47,7 +47,8 @@ SUCH DAMAGE. #include "ansh.h" -int Timeout, Verbose, Kill; +intptr_t Kill; +int Timeout, Verbose; u_int Crypted; extern char compiled[], compiledby[], compilehost[]; @@ -71,7 +72,7 @@ main(int argc, char **argv) { char ch, szDev[STRSIZ] = { 0 }; int h, len; - struct ether_addr ea; + struct io_ether_addr ea; srandomdev(); do { @@ -105,7 +106,7 @@ main(int argc, char **argv) printf("Error:: not specified mac for connect ...\n"); return 1; } - if (!ether_aton_r(argv[0], &ea)) { + if (!io_ether_aton(argv[0], &ea)) { printf("Error:: invalid mac ...\n"); return 1; }