mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 10:49:24 +00:00
bgpd: fix "nexthop-local unchanged" (BZ#350)
This commit is contained in:
parent
5c88f19d5b
commit
3cf1288bfd
@ -5015,6 +5015,11 @@ bgp_config_write_peer (struct vty *vty, struct bgp *bgp,
|
|||||||
&& ! peer->af_group[afi][safi])
|
&& ! peer->af_group[afi][safi])
|
||||||
vty_out (vty, " neighbor %s route-server-client%s", addr, VTY_NEWLINE);
|
vty_out (vty, " neighbor %s route-server-client%s", addr, VTY_NEWLINE);
|
||||||
|
|
||||||
|
/* Nexthop-local unchanged. */
|
||||||
|
if (CHECK_FLAG (peer->af_flags[afi][safi], PEER_FLAG_NEXTHOP_LOCAL_UNCHANGED)
|
||||||
|
&& ! peer->af_group[afi][safi])
|
||||||
|
vty_out (vty, " neighbor %s nexthop-local unchanged%s", addr, VTY_NEWLINE);
|
||||||
|
|
||||||
/* Allow AS in. */
|
/* Allow AS in. */
|
||||||
if (peer_af_flag_check (peer, afi, safi, PEER_FLAG_ALLOWAS_IN))
|
if (peer_af_flag_check (peer, afi, safi, PEER_FLAG_ALLOWAS_IN))
|
||||||
if (! peer_group_active (peer)
|
if (! peer_group_active (peer)
|
||||||
|
Loading…
Reference in New Issue
Block a user