diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-11-18 09:58:08 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-18 15:56:45 +0900 |
commit | d4d02dd0f61dc33f40a099e076cfe0ed307b856f (patch) | |
tree | 35f5925edee94d3170dfde92b9f9063233622195 /tox.ini | |
parent | 156b3d2a6e095379167b2d9a0c97ee3c02b14848 (diff) |
rest_firewall: Compare reserved port in str representation
Along with the update of ofctl_rest, the output representation of
the port number in the OUTPUT action has been changed.
e.g.) In case of the OUTPUT action to the OFPP_NORMAL port
OLD:
'OUTPUT:4294967290' # OFPP_NORMAL = 0xfffffffa
NOW:
'OUTPUT:NORMAL'
Currently, rest_firewall suposes the OLD format, and it will fail
to compare the port number, then all firewall rules will be shown
with "actions": "DENY".
This patch fixes to compare the port number in the NEW format and
fixes this problem.
Reported-by: Hong Panha <c011361065@edu.teu.ac.jp>
Reported-by: Ruy Takata <ruy.takata@gmail.com>
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions