--- ospfd/ospf_packet.c.original Thu May 19 14:22:55 2005 +++ ospfd/ospf_packet.c Thu May 19 14:23:32 2005 @@ -270,7 +270,7 @@ ospfh = (struct ospf_header *) ibuf; /* Get pointer to the end of the packet. */ - pdigest = ibuf + length; + pdigest = (unsigned char *)ibuf + length; /* Get secret key. */ ck = ospf_crypt_key_lookup (OSPF_IF_PARAM (oi, auth_crypt), @@ -1786,6 +1786,7 @@ if (listcount (mylsa_upds) > 0) ospf_opaque_self_originated_lsa_received (nbr, mylsa_upds); + list_delete (mylsa_acks); list_delete (mylsa_upds); #endif /* HAVE_OPAQUE_LSA */