Do not bypass the register of the netdev_linux_class, netdev_internal_class, netdev_tap_class and netdev_vport_tunnel_register when compiling with MSVC. This will allow the code behind netdev-linux interface to run.
Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com> --- lib/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev.c b/lib/netdev.c index 25edc16..735ec88 100644 --- a/lib/netdev.c +++ b/lib/netdev.c @@ -125,7 +125,7 @@ netdev_initialize(void) fatal_signal_add_hook(restore_all_flags, NULL, NULL, true); netdev_vport_patch_register(); -#ifdef __linux__ +#if defined(__linux__) || defined(_WIN32) netdev_register_provider(&netdev_linux_class); netdev_register_provider(&netdev_internal_class); netdev_register_provider(&netdev_tap_class); -- 1.9.0.msysgit.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev