vswitchd: Fix bad assumption about byte order of flow_t's "in_port".
authorBen Pfaff <blp@nicira.com>
Mon, 2 Mar 2009 22:13:36 +0000 (14:13 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 2 Mar 2009 22:13:36 +0000 (14:13 -0800)
commit1e072c81676c8fbc38cb39f3dfec68d7c0e1e791
tree0703b54b0cf9ba5634adffe7d0d3ed9763f4ba92
parentf9c6e2f2827a7068f8149d3d4cefc12e0713b56b
vswitchd: Fix bad assumption about byte order of flow_t's "in_port".

In the big restructuring of secchan and the datapath, the "in_port"
member was changed from network byte order to host byte order, but vswitchd
hadn't quite caught up.  This fixes the problem.

With this commit, at least the most basic use of vswitchd now works again.
vswitchd/bridge.c