bridge: Open internal ports with the correct type.
authorJustin Pettit <jpettit@nicira.com>
Wed, 14 Nov 2012 23:49:47 +0000 (15:49 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 16 Nov 2012 20:35:55 +0000 (12:35 -0800)
commitb4f4b737f901a43eba962bec2280b52b95ad10d5
tree8d22a09a6bc0c2166c1c99328a1c417e9917a2a0
parent0aeaabc8dbccef7593dc19e891a3f5bbef1991cd
bridge: Open internal ports with the correct type.

Use the new ofproto function that returns how a port should be opened
based on the datapath type.  This fixes a problem with internal ports
being attached to userspace datapaths.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
vswitchd/bridge.c