--- embedaddon/pimdd/pim.c 2017/06/12 07:58:55 1.1.1.1 +++ embedaddon/pimdd/pim.c 2017/06/14 09:28:09 1.1.1.1.2.1 @@ -34,7 +34,7 @@ * Questions concerning this software should be directed to * Pavlin Ivanov Radoslavov (pavlin@catarina.usc.edu) * - * $Id: pim.c,v 1.1.1.1 2017/06/12 07:58:55 misho Exp $ + * $Id: pim.c,v 1.1.1.1.2.1 2017/06/14 09:28:09 misho Exp $ */ #include "defs.h" @@ -257,7 +257,6 @@ send_pim(buf, src, dst, type, datalen) pim = (pim_header_t *)(buf + sizeof(struct ip)); pim->pim_type = type; pim->pim_vers = PIM_PROTOCOL_VERSION; - pim->reserved = 0; pim->pim_cksum = 0; /* TODO: XXX: if start using this code for PIM_REGISTERS, exclude the * encapsulated packet from the checsum. @@ -349,7 +348,6 @@ send_pim_unicast(buf, src, dst, type, datalen) pim = (pim_header_t *)(buf + sizeof(struct ip)); pim->pim_vers = PIM_PROTOCOL_VERSION; pim->pim_type = type; - pim->reserved = 0; pim->pim_cksum = 0; bzero((void *)&sdst, sizeof(sdst));