From 2f5078856eee87a6b9306e6298c1fbe15066fec0 Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Thu, 27 Jul 2017 11:01:36 -0400 Subject: [PATCH] bgpd rfapi: fix breakage introduced in refactoring Signed-off-by: Lou Berger --- bgpd/bgp_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index 79d215f1bd..ef32b9cf92 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -2039,7 +2039,7 @@ static int bgp_attr_encap(uint8_t type, struct peer *peer, /* IN */ } #endif } - stlv_last->next = tlv; + stlv_last = tlv; } if (BGP_ATTR_ENCAP == type) { -- 2.39.5