From 036937f0424e9c6f20c778447a5e250a6761a3df Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 31 Mar 2020 17:54:40 +0300 Subject: [PATCH] bgpd: Correct two comments typos for bgp_collision_detect() Signed-off-by: Donatas Abraitis --- bgpd/bgp_packet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index 10e96497fb..3ede2ce9fb 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -1345,8 +1345,9 @@ static int bgp_open_receive(struct peer *peer, bgp_size_t size) peer->afc[AFI_IP6][SAFI_FLOWSPEC]; } - /* When collision is detected and this peer is closed. Retrun - immidiately. */ + /* When collision is detected and this peer is closed. + * Return immediately. + */ ret = bgp_collision_detect(peer, remote_id); if (ret < 0) return BGP_Stop;