ofproto-dpif.c: Modify vsp_realdev_to_vlandev() function
authorAlex Wang <alexw@nicira.com>
Fri, 31 May 2013 01:24:44 +0000 (18:24 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 31 May 2013 04:27:07 +0000 (21:27 -0700)
commit21a647f72908090793dab9a842476be07b2c3ee2
treeb7b01d7644a6080bb413e4a2bf3e2bb0ed5679bb
parent6cb789085c5dc34557118ff69de5e999adcec289
ofproto-dpif.c: Modify vsp_realdev_to_vlandev() function

Commit 52a90c29 (Implement new "VLAN splinters" feature) passed in OpenFlow
port number to vsp_realdev_to_vlandev() function which asks for datapath port
number.

This patch fixes this bug by making the vsp_realdev_to_vlandev() function
take in and return OpenFlow port number.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c