mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 05:04:18 +00:00
Merge pull request #1945 from qlyoung/fix-vrf-static-routes
zebra: fix config of vrf static routes
This commit is contained in:
commit
9cf78d6cea
@ -156,7 +156,7 @@ static int static_list_compare(void *arg1, void *arg2)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = shr1->safi - shr2->afi;
|
||||
ret = shr1->safi - shr2->safi;
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
@ -259,6 +259,7 @@ static int zebra_static_route_holdem(struct zebra_vrf *zvrf,
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
if (!negate)
|
||||
listnode_add_sort(static_list, shr);
|
||||
|
||||
return CMD_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user