vswitchd: Refactor iface_refresh_type() into iface_get_type().
authorBen Pfaff <blp@nicira.com>
Tue, 24 Apr 2012 22:59:42 +0000 (15:59 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 25 Apr 2012 01:08:40 +0000 (18:08 -0700)
commitb54441b366ff133079f6adc3fc9a0f456119af46
tree5bd6aabcfe596bc13254b46d6a6243902950088c
parent7f81a52a98bf166c5419363f12ad369a037eb1b7
vswitchd: Refactor iface_refresh_type() into iface_get_type().

The calculation that this function does will need to be used in a
context where no "struct iface" is available in an upcoming commit.

Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c