[gnome-control-center/wip/carlosg/infiniband-as-wired] network: Handle Infiniband as a wired interface



commit 4c31ff5269a2a43823c359f58a830acb1930b41b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Apr 23 19:46:32 2019 +0200

    network: Handle Infiniband as a wired interface
    
    The configuration/UI we expose for wired settings are meaningful for those
    devices as well.
    
    Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/489

 panels/network/cc-network-panel.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index d5b80476a..57788c9c7 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -472,6 +472,7 @@ panel_add_device (CcNetworkPanel *panel, NMDevice *device)
         /* map the NMDeviceType to the GType, or ignore */
         switch (type) {
         case NM_DEVICE_TYPE_ETHERNET:
+        case NM_DEVICE_TYPE_INFINIBAND:
                 device_g_type = NET_TYPE_DEVICE_ETHERNET;
                 break;
         case NM_DEVICE_TYPE_MODEM:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]