Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect total_len value in ofp_packet_in #225

Open
legoscia opened this issue Nov 7, 2013 · 0 comments
Open

Incorrect total_len value in ofp_packet_in #225

legoscia opened this issue Nov 7, 2013 · 0 comments

Comments

@legoscia
Copy link
Contributor

legoscia commented Nov 7, 2013

When the switch sends an ofp_packet_in message to the controller containing a truncated packet (because the controller set the max_len field in ofp_action_output; see #224), the total_len field contains the truncated length of the packet, not the total length.

This can be reproduced using the port_1_to_controller_12_bytes scenario in of_controller_v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant