of1.2: remove unused mask in MTEthType

EthType doesn't support mask.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
FUJITA Tomonori 2012-07-16 10:20:17 +09:00
parent 42f704f943
commit bff41cb952

View File

@ -2022,7 +2022,6 @@ class MTEthType(OFPMatchField):
def __init__(self, header, value, mask=None): def __init__(self, header, value, mask=None):
super(MTEthType, self).__init__(header) super(MTEthType, self).__init__(header)
self.value = value self.value = value
self.mask = mask
@OFPMatchField.register_field_header([ofproto_v1_2.OXM_OF_VLAN_VID, @OFPMatchField.register_field_header([ofproto_v1_2.OXM_OF_VLAN_VID,