mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
zebra: Allow duplicate entry of a route
If a user enters a route inside a non kernel existant vrf: vrf BLOOP ip route 4.3.2.0/24 192.168.201.1 ! They should be able to enter it over and over and over and over and over no matter how futile it is. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
e7f96f7411
commit
ad97d1c10a
@ -249,7 +249,11 @@ static int zebra_static_route_holdem(struct zebra_vrf *zvrf,
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
assert(!"We should not have found a duplicate and not remove it");
|
||||
/*
|
||||
* If a person enters the same line again
|
||||
* we need to silently accept it
|
||||
*/
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
listnode_add_sort(static_list, shr);
|
||||
|
Loading…
Reference in New Issue
Block a user