blob: bfb9bee93a426d3e80562833e2b4876fcf73f682 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- 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 */
|