]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd rfapi: fix breakage introduced in refactoring
authorLou Berger <lberger@labn.net>
Thu, 27 Jul 2017 15:01:36 +0000 (11:01 -0400)
committerLou Berger <lberger@labn.net>
Thu, 27 Jul 2017 17:15:47 +0000 (13:15 -0400)
Signed-off-by: Lou Berger <lberger@labn.net>
bgpd/bgp_attr.c

index 79d215f1bd2b2540ba192fa18722641b084d0346..ef32b9cf923c0b32190bd72dbf7c53920304f459 100644 (file)
@@ -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) {