mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 23:42:15 +00:00
ospf6d: Ensure that ospf6d is actually running before handling default routes
If a default route is passed into ospf6d then we need to make sure that ospf6d is actually running before we accept and process it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
parent
7cfc61d32e
commit
87bb7354d8
@ -215,6 +215,9 @@ ospf6_zebra_read_ipv6 (int command, struct zclient *zclient,
|
|||||||
struct prefix_ipv6 p;
|
struct prefix_ipv6 p;
|
||||||
struct in6_addr *nexthop;
|
struct in6_addr *nexthop;
|
||||||
|
|
||||||
|
if (ospf6 == NULL)
|
||||||
|
return 0;
|
||||||
|
|
||||||
s = zclient->ibuf;
|
s = zclient->ibuf;
|
||||||
ifindex = 0;
|
ifindex = 0;
|
||||||
nexthop = NULL;
|
nexthop = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user