mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 19:13:19 +00:00
ospf6d: fix warning message when interfae disabled
When removing an interface from an existing area, the warning message we get is not correct interface r1-r2-eth0 ipv6 address 2013:12::1/64 ipv6 ospf6 dead-interval 4 ipv6 ospf6 hello-interval 1 ! interface dummy ipv6 ospf6 dead-interval 4 ipv6 ospf6 hello-interval 1 ipv6 ospf6 network point-to-point ! router ospf6 ospf6 router-id 1.1.1.1 interface r1-r2-eth0 area 0.0.0.0 ! r1(config-if)# router ospf6 r1(config-ospf6)# no interface dummy area 0.0.0.0 No such Area-ID: 0.0.0.0 <--- area 0.0.0.0 exists This is fixing the error message Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
This commit is contained in:
parent
d100d0b00c
commit
800cc91882
@ -809,7 +809,8 @@ DEFUN (no_ospf6_interface_area,
|
||||
|
||||
/* Verify Area */
|
||||
if (oi->area == NULL) {
|
||||
vty_out(vty, "No such Area-ID: %s\n", argv[idx_ipv4]->arg);
|
||||
vty_out(vty, "%s not attached to area %s\n",
|
||||
oi->interface->name, oi->area->name);
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user