mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 04:25:43 +00:00
staticd: correct update static route when specify nexthop-vrf
Signed-off-by: Dmitrii Turlupov <dturlupov@factor-ts.ru>
This commit is contained in:
parent
dfd15ebfa6
commit
9c0bcd0d97
@ -99,7 +99,8 @@ int static_add_route(afi_t afi, safi_t safi, uint8_t type, struct prefix *p,
|
||||
&& IPV4_ADDR_SAME(&gate->ipv4, &si->addr.ipv4))
|
||||
|| (afi == AFI_IP6
|
||||
&& IPV6_ADDR_SAME(gate, &si->addr.ipv6))))
|
||||
&& (!strcmp(ifname ? ifname : "", si->ifname))) {
|
||||
&& (!strcmp(ifname ? ifname : "", si->ifname))
|
||||
&& nh_svrf->vrf->vrf_id == si->nh_vrf_id) {
|
||||
if ((distance == si->distance) && (tag == si->tag)
|
||||
&& (table_id == si->table_id)
|
||||
&& !memcmp(&si->snh_label, snh_label,
|
||||
|
Loading…
Reference in New Issue
Block a user