summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorSerguei Bezverkhi <sbezverk@cisco.com>2020-12-14 09:39:33 -0500
committerSerguei Bezverkhi <sbezverk@cisco.com>2020-12-14 09:39:33 -0500
commit066e791610596c9bb76cb15f1b3c91c1b620bc03 (patch)
treee75084940d34b03e9e6761c2cedac59fc7c8b173 /pkg
parentc091ec6ae6e082fd4ba9ca256217672074e40678 (diff)
change comments
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/packet/bgp/bgp.go4
1 files 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 {