diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-05-10 14:29:40 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-05-13 22:25:21 +0900 |
commit | 9dd3b3ce4acde6398163cc01e5b2a0e176d56aa2 (patch) | |
tree | b21cd22049cffe923811f2a8e34214ed81f5ca99 /debian/source | |
parent | c1047818d3ce907b8a606719d650a0a982a5645e (diff) |
ofctl_utils: Enhance user value conversion
Currently, OFCtlUtil._reserved_num_from_user() fails to convert
an user specified value when it is a numeric string.
This patch enhances this conversion to enable to convert an user
value as follows.
e.g.)
- Integer: 1 -> 1
- Numeric string: "1" -> 1
- Reserved number: "OFPP_ANY" -> 0xffffffff
- Invalid value: "foobar" -> "foobar" (do not conversion)
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'debian/source')
0 files changed, 0 insertions, 0 deletions