From 066e791610596c9bb76cb15f1b3c91c1b620bc03 Mon Sep 17 00:00:00 2001 From: Serguei Bezverkhi Date: Mon, 14 Dec 2020 09:39:33 -0500 Subject: change comments Signed-off-by: Serguei Bezverkhi --- pkg/packet/bgp/bgp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go index 406d024c..2f117830 100644 --- a/pkg/packet/bgp/bgp.go +++ b/pkg/packet/bgp/bgp.go @@ -1621,8 +1621,8 @@ func (l *MPLSLabelStack) DecodeFromBytes(data []byte, options ...*MarshallingOpt foundBottom := false bottomExpected := true if IsAttributePresent(BGP_ATTR_TYPE_PREFIX_SID, options) { - // If Update carries Prefix SID attribute then one should not rely on BoS for label stack processing, - // the first label carries transposed variable part of the SRv6 SID. + // If Update carries Prefix SID attribute then one should not rely on BoS for the label stack processing, + // the first and only label carries transposed variable part of the SRv6 SID. bottomExpected = false } for len(data) >= 3 { -- cgit v1.2.3