packet_data: Fix wildcarded match value in OF1.0

OpenFlow Spec 1.0 does not define clearly the match value when the
corresponding wildcard flags are set, but OpenFlow 1.3.2 mandate
that masked value must be 0-bits in match.
This patch fixes wildcarded match value (dl_src) into 0-bits.

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
IWASE Yusuke 2015-10-26 17:30:53 +09:00 committed by FUJITA Tomonori
parent d6b7dd5c40
commit 7c7fb56ad6
2 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ x() ->
% XXX ryu and flower have different defaults for the
% followin fields.
in_port = 0,
dl_src = <<(-1):6/unit:8>>
dl_src = <<0:6/unit:8>>
},
actions = [#ofp_action_output{port = 6,max_len = 65535}]},
skip,