diff options
| -rw-r--r-- | ospfd/ospf_lsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 6623790837..729e508865 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -2582,7 +2582,8 @@ struct ospf_lsa *ospf_lsa_install(struct ospf *ospf, struct ospf_interface *oi, lsdb = ospf->lsdb; break; default: - lsdb = lsa->area->lsdb; + if (lsa->area) + lsdb = lsa->area->lsdb; break; } |
