mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-27 22:30:56 +00:00
bgpd: fix minttl copying during peer reset
Include gtsm_hops (minttl) field when copying peer structure, so that a new connection could set a proper value. Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
This commit is contained in:
parent
b7987eca20
commit
f4da4398f4
@ -1650,6 +1650,7 @@ void peer_xfer_config(struct peer *peer_dst, struct peer *peer_src)
|
||||
XSTRDUP(MTYPE_BGP_PEER_IFNAME, peer_src->ifname);
|
||||
}
|
||||
peer_dst->ttl = peer_src->ttl;
|
||||
peer_dst->gtsm_hops = peer_src->gtsm_hops;
|
||||
}
|
||||
|
||||
static int bgp_peer_conf_if_to_su_update_v4(struct peer_connection *connection,
|
||||
|
Loading…
Reference in New Issue
Block a user