mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 20:27:03 +00:00
Merge pull request #2450 from ppmathis/bugfix/bgp-filtered-routes
bgpd: Fix crash when showing filtered routes
This commit is contained in:
commit
4a1f626570
@ -1185,12 +1185,8 @@ static int bgp_input_modifier(struct peer *peer, struct prefix *p,
|
||||
|
||||
peer->rmap_type = 0;
|
||||
|
||||
if (ret == RMAP_DENYMATCH) {
|
||||
/* Free newly generated AS path and community by
|
||||
* route-map. */
|
||||
bgp_attr_flush(attr);
|
||||
if (ret == RMAP_DENYMATCH)
|
||||
return RMAP_DENY;
|
||||
}
|
||||
}
|
||||
return RMAP_PERMIT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user