ofproto-dpif.c: Modify vsp_realdev_to_vlandev() function
authorAlex Wang <alexw@nicira.com>
Wed, 5 Jun 2013 19:34:01 +0000 (12:34 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 5 Jun 2013 19:35:21 +0000 (12:35 -0700)
commit29d532d8b8d6475d370351572a2acd8e0e180edd
tree1afa012c804bfab76f6b2536bd4e06695583f7e5
parentef7a55a497d2737f06df18ceeecd171c25bcd06a
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