Bugzilla – Bug 2269
port numbers are not correctly interpreted (ntohs/l).
Last modified: 2016-02-07 04:57:15 EST
The discussion originated here:
however I suspect that the problem has its roots elsewhere. In openflow-interface.cc there are many places where htons is used inconsistently, commented and/or used on some variables but not on others.
There is the need for a global check of the ports variables (in, out, etc.) in order to avoid misrepresentations or representation changes in the middle of the code.
May be related to https://www.nsnam.org/bugzilla/show_bug.cgi?id=2158