Merge pull request #8502 from ranjanyash54/core_dump

ospf6d: Fix coredump when "no interface IFNAME area <A.B.C.D>" is called
This commit is contained in:
Igor Ryzhov 2021-04-18 18:23:01 +03:00 committed by GitHub
commit 8d31c67c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -814,7 +814,7 @@ DEFUN (no_ospf6_interface_area,
/* Verify Area */
if (oi->area == NULL) {
vty_out(vty, "%s not attached to area %s\n",
oi->interface->name, oi->area->name);
oi->interface->name, argv[idx_ipv4]->arg);
return CMD_SUCCESS;
}