Return netmask along with IP address when querying through netdev
[sliver-openvswitch.git] / extras / ezio / ovs-switchui.c
index 040bc70..e83367d 100644 (file)
@@ -2480,7 +2480,7 @@ choose_netdevs(struct svec *choices)
 
         retval = netdev_open(name, NETDEV_ETH_TYPE_NONE, &netdev);
         if (!retval) {
-            bool exclude = netdev_get_in4(netdev, NULL);
+            bool exclude = netdev_get_in4(netdev, NULL, NULL);
             netdev_close(netdev);
             if (exclude) {
                 continue;