diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c index a40b3d5f0f..e81e216c5a 100644 --- a/ospf6d/ospf6_zebra.c +++ b/ospf6d/ospf6_zebra.c @@ -215,6 +215,9 @@ ospf6_zebra_read_ipv6 (int command, struct zclient *zclient, struct prefix_ipv6 p; struct in6_addr *nexthop; + if (ospf6 == NULL) + return 0; + s = zclient->ibuf; ifindex = 0; nexthop = NULL;