mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 14:17:20 +00:00
Merge pull request #978 from devicenull/master
bgpd: Check for per-peer outbound configuration, in addition to the peer-group config
This commit is contained in:
commit
865f5bb8cb
@ -6190,10 +6190,13 @@ static void bgp_config_write_filter(struct vty *vty, struct peer *peer,
|
|||||||
addr, filter->plist[in].name);
|
addr, filter->plist[in].name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter->plist[out].name && !gfilter) {
|
if (filter->plist[out].name)
|
||||||
|
if (!gfilter || !gfilter->plist[out].name
|
||||||
|
|| strcmp(filter->plist[out].name, gfilter->plist[out].name)
|
||||||
|
!= 0) {
|
||||||
afi_header_vty_out(vty, afi, safi, write,
|
afi_header_vty_out(vty, afi, safi, write,
|
||||||
" neighbor %s prefix-list %s out\n", addr,
|
" neighbor %s prefix-list %s out\n",
|
||||||
filter->plist[out].name);
|
addr, filter->plist[out].name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* route-map. */
|
/* route-map. */
|
||||||
|
Loading…
Reference in New Issue
Block a user