diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-12-25 01:04:50 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-12-25 06:35:12 +0900 |
commit | 11006e73494dd7213f4f59fbc3370fb1aa85314c (patch) | |
tree | 438b7f996c00d5e5a7c17b6b2fc727a3960595a0 /tools | |
parent | 119990d1eba339e1088cf87b32d39eb3169ddcde (diff) |
oxm_fields: make a crash less cryptic
when oxm length is not what we expect, explicitly raise an exception
with descriptive message like the following.
Exception: Unexpected OXM payload length 3 for ipv6_flabel (expected 4)
This often happens if you are using LINC and IPv6.
https://github.com/FlowForwarding/of_protocol/pull/57
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions