diff options
-rw-r--r-- | ryu/ofproto/ofproto_v1_2_parser.py | 2 | ||||
-rw-r--r-- | ryu/ofproto/ofproto_v1_3_parser.py | 2 | ||||
-rw-r--r-- | ryu/tests/unit/ofproto/test_parser_v12.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 19a95bc4..9031f6c8 100644 --- a/ryu/ofproto/ofproto_v1_2_parser.py +++ b/ryu/ofproto/ofproto_v1_2_parser.py @@ -1497,7 +1497,7 @@ class Flow(object): self.ipv6_nd_target = [] self.ipv6_nd_sll = 0 self.ipv6_nd_tll = 0 - self.mpls_lable = 0 + self.mpls_label = 0 self.mpls_tc = 0 diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index b6e3e1a8..03814693 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -305,7 +305,7 @@ class Flow(object): self.ipv6_nd_target = [] self.ipv6_nd_sll = 0 self.ipv6_nd_tll = 0 - self.mpls_lable = 0 + self.mpls_label = 0 self.mpls_tc = 0 self.mpls_bos = 0 self.pbb_isid = 0 diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index c7eae760..58536de9 100644 --- a/ryu/tests/unit/ofproto/test_parser_v12.py +++ b/ryu/tests/unit/ofproto/test_parser_v12.py @@ -6633,7 +6633,7 @@ class TestOFPMatch(unittest.TestCase): eq_(res._flow.ipv6_nd_target, []) eq_(res._flow.ipv6_nd_sll, 0) eq_(res._flow.ipv6_nd_tll, 0) - eq_(res._flow.mpls_lable, 0) + eq_(res._flow.mpls_label, 0) eq_(res._flow.mpls_tc, 0) # flow check |