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 03:12:35 +0000 (20:12 -0700)
commitb6fee8b40d82ae6bc6c8bfe65d881751213b8d9b
tree7f4ece290f8424cb1a8f3b167a13658fc7341b8d
parent7a13bc004d124cdc38ffc5f3cb6d7b3aefe1763b
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