From: Lou Berger Date: Thu, 27 Jul 2017 15:01:36 +0000 (-0400) Subject: bgpd rfapi: fix breakage introduced in refactoring X-Git-Tag: frr-4.0-dev~490^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=2f5078856eee87a6b9306e6298c1fbe15066fec0;p=mirror%2Ffrr.git bgpd rfapi: fix breakage introduced in refactoring Signed-off-by: Lou Berger --- 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) {