netdev: Fix build for switchui.
authorJesse Gross <jesse@nicira.com>
Fri, 15 Jan 2010 16:48:29 +0000 (11:48 -0500)
committerJesse Gross <jesse@nicira.com>
Fri, 15 Jan 2010 16:48:29 +0000 (11:48 -0500)
extras/ezio/ovs-switchui.c

index 14dca49f9f3233f9b910fb8a87edba04d7993c7e..365a708b0294e94394eb4ec20d4eca2d85451664 100644 (file)
@@ -2478,7 +2478,7 @@ choose_netdevs(struct svec *choices)
             continue;
         }
 
-        retval = netdev_open(name, NETDEV_ETH_TYPE_NONE, &netdev);
+        retval = netdev_open_default(name, &netdev);
         if (!retval) {
             bool exclude = netdev_get_in4(netdev, NULL, NULL) == 0;
             netdev_close(netdev);