summaryrefslogtreecommitdiffhomepage
path: root/tools/test-requires
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-02-09 16:44:35 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-02-11 14:21:04 +0900
commitdffb3d3cf6c8db88dda19d394418bc090a7860ff (patch)
tree5cc12286eb69ffc04e0ca174029f9dcc2fbcd26f /tools/test-requires
parent83bf7fae1db9a6375ffea2d5005a20a431db761f (diff)
ofctl_v1_*: Use str_to_int instead of builtin int
This patch fixes lib/ofctl_v1_* to use the utility function str_to_int() instead of the builtin function int(). With this change, lib/ofctl_v1_* can convert the user input values into integer even if non-decimal string values (e.g. hexadecimal "0x80"). Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/test-requires')
0 files changed, 0 insertions, 0 deletions