secchan: Fix in-band ODP->OFP port translation.
authorBen Pfaff <blp@nicira.com>
Fri, 13 Mar 2009 23:52:37 +0000 (16:52 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 14 Mar 2009 00:05:46 +0000 (17:05 -0700)
commitf4720a36c319ba2c9286ad37bc8e770fc20e5a9b
treeed6eac4884a8998d17e1788e6caaf64d80d20fd5
parent4df84872197addec1d26e7bc8b4b04a2fbcbc441
secchan: Fix in-band ODP->OFP port translation.

The in-band and fail-open code uses ODP port numbers internally, but
ofproto_add_flow() takes OpenFlow actions and thus needs to receive
OpenFlow port numbers.

This should fix a problem with in-band control.
secchan/fail-open.c
secchan/in-band.c