mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-24 06:28:34 +00:00
Merge pull request #9615 from idryzhov/ospf6-null-deref
ospf6d: fix possible NULL dereference
This commit is contained in:
commit
aae2caea77
@ -1155,7 +1155,10 @@ DEFPY(show_ipv6_ospf6_gr_helper,
|
||||
bool detail = false;
|
||||
|
||||
ospf6 = ospf6_lookup_by_vrf_name(VRF_DEFAULT_NAME);
|
||||
OSPF6_CMD_CHECK_RUNNING();
|
||||
if (ospf6 == NULL) {
|
||||
vty_out(vty, "OSPFv3 is not configured\n");
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
if (argv_find(argv, argc, "detail", &idx))
|
||||
detail = true;
|
||||
|
Loading…
Reference in New Issue
Block a user