File gnome-nettool-bsc977225-Infiniband.patch of Package gnome-nettool
From: Dominique Leuenberger <dimstar@opensuse.org>
Subject: Add new network interface type: Infiniband
Date: Thu Jun 30 2016 - 11:04:03 CEST
X-Bugref: https://bugzilla.suse.com/show_bug.cgi?id=977225
Index: gnome-nettool-3.8.1/src/info.c
===================================================================
--- gnome-nettool-3.8.1.orig/src/info.c
+++ gnome-nettool-3.8.1/src/info.c
@@ -64,8 +64,9 @@ static InfoInterfaceDescription info_ifa
{ N_("Modem Interface"), INFO_INTERFACE_PPP, "16_ppp.xpm", "ppp", NULL },
{ N_("Parallel Line Interface"), INFO_INTERFACE_PLIP, "16_plip.xpm", "plip", NULL },
{ N_("Infrared Interface"), INFO_INTERFACE_IRLAN, "irda-16.png", "irlan", NULL },
+ { N_("Infiniband Interface"), INFO_INTERFACE_IB, "network.png", "ib", NULL },
{ N_("Loopback Interface"), INFO_INTERFACE_LO, "16_loopback.xpm", "lo", NULL },
{ N_("Unknown Interface"), INFO_INTERFACE_UNKNOWN, "network.png", "", NULL },
{ NULL, INFO_INTERFACE_UNKNOWN, NULL, NULL, NULL }
};
Index: gnome-nettool-3.8.1/src/info.h
===================================================================
--- gnome-nettool-3.8.1.orig/src/info.h
+++ gnome-nettool-3.8.1/src/info.h
@@ -36,6 +36,7 @@ typedef enum {
INFO_INTERFACE_PPP,
INFO_INTERFACE_PLIP,
INFO_INTERFACE_IRLAN,
+ INFO_INTERFACE_IB,
INFO_INTERFACE_LO,
INFO_INTERFACE_UNKNOWN
} InfoInterfaceType;