]> git.puffer.fish Git - mirror/frr.git/commit
[ospfd] Fix SEGV during startup introduced in recent commit
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Wed, 24 Sep 2008 16:15:48 +0000 (17:15 +0100)
committerPaul Jakma <paul@quagga.net>
Wed, 24 Sep 2008 16:15:48 +0000 (17:15 +0100)
commit6e687d74f74f36bc9d503e29377e7d42f3427221
tree099899b58728fa5fbcfb8282a906d782076bf1ad
parent491eddc20ec072b05607d5a90513e3fffc0d85c2
[ospfd] Fix SEGV during startup introduced in recent commit

* ospfd/ospfd.c: (opsf_if_update) Check if ospf_lookup() returns NULL.
  Fixes bug introduced with recent ospf_network_run changes in
  a49eb30a, where SEGV will happen if not the "router ospf" command has
  been executed before the first interfaces are reported by zebra.

Signed-off-by: Paul Jakma <paul@quagga.net>
ospfd/ospfd.c