summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/lib/packet/bgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index bec13b7f..a2b875a7 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -3398,7 +3398,7 @@ class BGPPathAttributePmsiTunnel(_PathAttribute):
# If binary type label field value is specified, stores it
# and decodes as MPLS label and VNI.
self._label = label
- self._mpls_label = mpls.label_from_bin(label)
+ self._mpls_label, _ = mpls.label_from_bin(label)
self._vni = vxlan.vni_from_bin(label)
else:
# If either MPLS label or VNI is specified, stores it