summaryrefslogtreecommitdiff
path: root/ospfd/ospf_route.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-10-02 14:07:13 -0700
committerChirag Shah <chirag@cumulusnetworks.com>2017-10-02 14:17:11 -0700
commitdcc3ef8723928fd1bc652eb63af5a8cf5eb63d92 (patch)
tree25ef52237f27b9c8207c55d3ffa97c5aa5b35957 /ospfd/ospf_route.c
parent98e6d77f93985349c2cca965c6417bdef8601070 (diff)
ospfd: Fix maxage_lsa lookup key
maxage_lsa using prefix structure to store in route_table. The lsa pointer is 4-8 bytes depending on arch, but prefix member field would be 1 byte. Use ptr field of prefix structure to store lsa pointer. Also memset to initialize to avoid crash on ARM platform as same LSA is referenced from multiple times during shutdown of ospf. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_route.c')
0 files changed, 0 insertions, 0 deletions