--- ansh/src/utils.c 2013/01/18 09:31:47 1.4.4.1 +++ ansh/src/utils.c 2015/05/19 23:24:45 1.4.4.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: utils.c,v 1.4.4.1 2013/01/18 09:31:47 misho Exp $ + * $Id: utils.c,v 1.4.4.2 2015/05/19 23:24:45 misho Exp $ * ************************************************************************* The ELWIX and AITNET software is distributed under the following @@ -297,7 +297,7 @@ _pkt_Send(int s, u_int seq, char flg, u_int crypted, u return ANSH_FLG_ERR; e->ether_type = ntohs(ANSH_ID); - memcpy(e->ether_dhost, ea->ether_addr_octet, ETHER_ADDR_LEN); + memcpy(e->ether_dhost, ea->octet, ETHER_ADDR_LEN); hdr = (struct ansh_hdr*) (buf + ETHER_HDR_LEN); pos = ((u_char*) hdr) + sizeof(struct ansh_hdr);