diff options
Diffstat (limited to 'packet/bgp.go')
-rw-r--r-- | packet/bgp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp.go b/packet/bgp.go index c745effa..20fb47ee 100644 --- a/packet/bgp.go +++ b/packet/bgp.go @@ -851,7 +851,7 @@ func getRouteDistinguisher(data []byte) RouteDistinguisherInterface { } func labelDecode(data []byte) uint32 { - return uint32(data[0]<<16 | data[1]<<8 | data[2]) + return uint32(data[0])<<16 | uint32(data[1])<<8 | uint32(data[2]) } func labelSerialize(label uint32, buf []byte) { |