From: Jesse Gross Date: Fri, 15 Jan 2010 16:48:29 +0000 (-0500) Subject: netdev: Fix build for switchui. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=686cc0c00bb4cdb3e9ee95d43917ec0cdecd4a01;p=openvswitch netdev: Fix build for switchui. --- diff --git a/extras/ezio/ovs-switchui.c b/extras/ezio/ovs-switchui.c index 14dca49f..365a708b 100644 --- a/extras/ezio/ovs-switchui.c +++ b/extras/ezio/ovs-switchui.c @@ -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);