summaryrefslogtreecommitdiff
path: root/ospfd/ospf_apiserver.c
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2008-11-04 13:37:29 +0000
committerPaul Jakma <paul@quagga.net>2009-06-25 12:23:27 +0100
commitf65431380428c3cb8eb5c0a0ac93debc30717a3f (patch)
tree343c4b39fa516c0fc3a0640c9a8f9536c5b21d5f /ospfd/ospf_apiserver.c
parentdc26699a80eb7b40fb1c9026496cde2b80bf1335 (diff)
[ospfd] Fix a few LSA performance "bugs"
ospf_lsa_install() will calculate LSA checksum so no need to do it before calling ospf_lsa_install(). Set the OSPF_LSA_SELF_CHECKED flag on own LSA's to save ospf_lsa_is_self_originated() some work. Do not memset() memory that is about to overwritten with memcpy().
Diffstat (limited to 'ospfd/ospf_apiserver.c')
0 files changed, 0 insertions, 0 deletions