mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 04:29:33 +00:00
Merge pull request #8976 from ton31337/fix/bgp_dest_unlock_node
bgpd: Unlock bgp_dest for bgp_distance_unset if distance does not match
This commit is contained in:
commit
9c8b904960
@ -14377,6 +14377,7 @@ int bgp_distance_unset(uint8_t distance, const char *ip_str,
|
||||
if (bdistance->distance != distance) {
|
||||
snprintf(errmsg, errmsg_len,
|
||||
"Distance does not match configured\n");
|
||||
bgp_dest_unlock_node(dest);
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user