From 8b18cdd398cf01fc621a9a7eb6ca85d4d88a3f91 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Fri, 2 Jul 2021 16:48:11 +0300 Subject: [PATCH] bgpd: Create another update-group depending on max bgp packet size This should be garuanteed that we create a separate update-group if bgp max packet size differs. Signed-off-by: Donatas Abraitis --- bgpd/bgp_updgrp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bgpd/bgp_updgrp.c b/bgpd/bgp_updgrp.c index 2600eda42e..00b31b93b3 100644 --- a/bgpd/bgp_updgrp.c +++ b/bgpd/bgp_updgrp.c @@ -339,6 +339,7 @@ static unsigned int updgrp_hash_key_make(const void *p) key); key = jhash_1word(peer->v_routeadv, key); key = jhash_1word(peer->change_local_as, key); + key = jhash_1word(peer->max_packet_size, key); if (peer->group) key = jhash_1word(jhash(peer->group->name, -- 2.39.5