mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 22:09:48 +00:00
Merge pull request #8188 from volta-networks/fix_ospf6_cost_flag
ospf6d: fix setting NOAUTOCOST flag
This commit is contained in:
commit
130daf24ae
@ -1622,12 +1622,11 @@ DEFUN (ipv6_ospf6_cost,
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
|
||||
SET_FLAG(oi->flag, OSPF6_INTERFACE_NOAUTOCOST);
|
||||
if (oi->cost == lcost)
|
||||
return CMD_SUCCESS;
|
||||
|
||||
oi->cost = lcost;
|
||||
SET_FLAG(oi->flag, OSPF6_INTERFACE_NOAUTOCOST);
|
||||
|
||||
ospf6_interface_force_recalculate_cost(oi);
|
||||
|
||||
return CMD_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user